Method and system for analysing sound

ABSTRACT

A method and system for analyzing audio (eg. music) tracks. A predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain is described. Sounds are analyzed so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal in that listener. The method and system are particularly applicable to applications harnessing a biofeedback resource.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the priority of PCT/GB2012/051314, filed on Jun. 11, 2012, which claims priority to Great Britain Application No. 1109731.8, filed Jun. 10, 2011, the entire contents of each of which is fully incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method and system for analysing sound (e.g. music tracks). Tracks from a database of sounds, for example music, can be analysed in order to predict automatically the effect or impact those sounds will have on a listener.

2. Technical Background

It is well established that there are specific levels of neuro-physiological arousal (related to mood, states of mind and affect) best suited to particular activities such as study, relaxation, sleep or athletic performance. However, because these levels of arousal result from complex interactions between the conscious mind, environmental stimuli, the autonomic nervous system, endocrine activity, neurotransmission and basal metabolism, it is difficult to control and sustain them.

It is also well established that there is a universal human response to music based on a complex set of functions ranging from perceptual systems, by way of cerebral cortex and other processing, to activation of core emotional centres of the brain and the somatic systems. It is similarly well established that these functions reside in parts of the brain such as, for example, the cochlea, primary auditory cortex, pre-motor cortex, amygdala and the periaqueductal grey (and so on). Rhythm, for example, has a measurable effect on the pre-motor cortex, autonomic nervous system, somatic systems, the endocrine system and neurotransmission. Other aspects of musical structure and experience may also influence human neurophysiology, as described below.

3. Discussion of Related Art

Three ways are known of analysing music for arousal and counter-arousal using humans (for brevity, the term ‘arousal’ will at times be used to include counter-arousal in this document). The first method entails the judgment of an individual, who might be either an expert or the subject him or herself. The second method is by testing many people and asking them how they feel in response to different music tracks. Neither is reliable because each is too subjective.

The third method is to analyse metrics computed as a function of the music itself (usually tempo, but may also include a measure of average energy), and relate such metrics to the desired state of arousal of the subject. There are several such systems, some of which are cited below. Most rely on either ‘entrainment’ (in the Huygens sense, namely the tendency to synchronise to an external beat or rhythm) or on the association of increased tempo (and in one known case, energy) with increased effort or arousal (and the converse for reduced tempo and energy).

Examples of prior art systems that use music selected according to tempo to manipulate arousal and counter-arousal include U.S. Pat. No. 282,045, U.S. Pat. No. 191,037, U.S. Pat. No. 113,725, U.S. Pat. No. 270,667, WO 151116, U.S. Pat. No. 5,267,942). This art may use beats per minute as calculated to predict entrainment or may, as in U.S. Pat. No. 060,446, modulate tempo in order to improve entrainment. Although this art may be directionally correct, and by extension of Huygens' entrainment principle, it is likely to work to some extent with some repertoire, tempo is both difficult to detect automatically and on its own may best be used to calculate neuro-physiological effect in the limited circumstances where the tempo is both easily and accurately detected and where it is close to the current heart rate of the listener (see next paragraph). Any significant divergence and the entrainment effect is likely to be lost. Most significantly, as discussed below, effective rhythmic entrainment depends on more than beats per minute, and is inseparably synergetic with and dependent on other musical generators of arousal, such as, for example harmonicity and turbulence.

U.S. Pat. No. 5,667,470 relies on the fulfillment or denial of expected outcomes in music in comparison with established patterns in the repertoire, while U.S. Pat. No. 4,883,067 introduces the concept of training the brain to replicate positive patterns of neurological activity by association with certain sound signals. One patent, U.S. Pat. No. 5,267,942, cites the iso-moodic principle documented by Altshuler in 1948 as evidence for its assertion that for the tempo of music to have any effect in entraining heart rate it must lie within the ‘entrainment range’ of the individual's actual heart rate, i.e. close to it. This introduces the notion that the neuro-physiological effect of a piece of music depends on the initial state of the subject, which means that the effect of any given piece of music is relative rather than absolute. Reference may also be made to US 2007/0270667 attempts to use biometric feedback to manipulate arousal.

Reference may also be made to psychoacoustics. Psychoacoustics has been extensively used in music compression technology (e.g. MP3), but another application is documented in U.S. Pat. No. 7,081,579, which describes an approach to song similarity analysis based on seven measured characteristics: brightness, bandwidth, volume, tempo, rhythm, low frequency noise and octave. These techniques can identify ‘soundalike’ music (of which there is much these days) but cannot be used to predict the effect of music in neuro-physiological terms.

SUMMARY OF THE INVENTION

The invention is a computer implemented system for analysing sounds, such as audio tracks, the system automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain;

-   -   and in which the system analyses sounds so that appropriate         sounds can be selected and played to a listener in order to         stimulate and/or manipulate neuro-physiological arousal in that         listener.

The model is a ‘predictive model of human neuro-physiological functioning and response’ because it predicts how the brain (e.g. structures in the lower cortical, limbic and subcortical regions, including the related autonomic nervous system, endocrine systems, and neuro-transmission systems), will respond to specific sounds.

In one implementation, tracks from a database of music are analysed in order to predict automatically the neuro-physiological effect or impact those sounds will have on a listener. Different audio tracks and their optimal playing order can then be selected to manipulate neuro-physiological arousal, state of mind and/or affect—for example to move towards, to reach or to maintain a desired state of arousal or counter-arousal, state of mind or affect (the term ‘affect’ is used in the psychological sense of an emotion, mood or state).

We can contrast this system with conventional psychoacoustics (underlying for example MPEG MP3 audio compression algorithms) because psychoacoustics in general deals with how incoming pressure waves are processed by modelling the signal processing undertaken by, for example, the cochlea and primary auditory cortex, whereas the present invention deals with the effect of sound—e.g. the neuro-physiological functioning and response to sound in the lower cortical, limbic and subcortical regions of the brain. Also, the science of psychoacoustics is not concerned with selecting specific sounds for the purpose of stimulating and manipulating desired states of arousal in a listener.

We can also contrast this system with a trivial model of musical effect, such as increased tempo leads to greater arousal. Missing entirely from such model is a generalised understanding of neuro-physiological functioning and response to sound; furthermore, in practice, such a model is so weak as to have no genuine predictive property and, for the reasons given above, is not a general solution to the technical problem of selecting different sounds so as to stimulate and manipulate arousal levels in a listener, unlike the present invention.

The musical parameters derived from or associated with the predictive model may relate to rhythmicity, and harmonicity and may also relate to turbulence—terms that will be explained in detail below. The invention may be used for the search, selection, ordering (i.e. sequencing), use, promotion, purchase and sale of music. It may further be used to select, modify, order or design non-musical sounds to have a desired neuro-physiological effect in the listener, or to permit selection, for example in designing or modifying engine exhaust notes, film soundtracks, industrial noise and other audio sources.

The invention is implemented in a system called X-System. X-System includes a database of music tracks that have been analysed according to musical parameters derived from or associated with a predictive model of human neuro-physiological functioning and response to those audio tracks. X-System may include also a sensor, a musical selection algorithms/playlist calculator for selecting suitable tracks and a connection to a music player. Once the sensor is activated, the system diagnoses the subject's initial level of neuro-physiological arousal and automatically constructs a playlist derived from a search of an X-System encoded musical or sound database that will first correspond to or mirror this level of arousal, then lead the listener towards, and help to maintain her/him at, the desired level of arousal. The playlist is recalculated as necessary based on periodic measurements of neuro-physiological or other indicative signals.

Measurement of neuro-physiological state may be done using a variety of techniques, such as electro-encephalography, positron emission tomography, plasma, saliva or other cell sampling, galvanic skin conductance, heart rate and many others, while prediction of response may be achieved via any suitable set of algorithms that are first hypothesised and then refined through testing. Any given set of algorithms will be dependent on the stimulus being modelled and the biometric by which the effect of the stimulus is to be measured, but, even given constant parameters, there are a number of valid mathematical approaches: the specific algorithms we describe in this specification themselves are therefore not the most fundamental feature of the invention, even though most algorithms in the system are unique in conception and implementation. Nor are the particular biometrics chosen to measure neuro-physiological state, though galvanic skin conductance and heart rate are both suitable for general use because they enable measurements to be taken easily and non-invasively, while both give a good indication of arousal or counter-arousal in the autonomic nervous system, which is in turn largely synergetic with endocrine activity and related neurotransmission.

X-System represents an improvement upon existing art in that it: a) describes the bio-active components of music (beyond tempo and energy) by reference to the brain's processing of audio stimuli, including music, and b) describes how any given sound source may be calibrated to the initial state of the subject in order to have the maximum entrainment effect. It offers the advantage over many other systems that it requires neither the modulation of tempo (tempo modulation is known from US 2007/0113725, US 2007 0060446 A1, US 2006/0107822 A1) nor the composition of psycho-acoustically correct, synthetic music (known from U.S. Pat. No. 4,883,067) to achieve its effect. X-System offers the possibility of harnessing the entire world repertoire of music to the modulation of affect without needing to manipulate the rendering of the music in any way.

X-System is based on a paradigm we shall refer to as the ‘Innate Neuro-physiological Response to Music’ (INRM—we will describe this in more detail below), and a unique informatic modelling of one or more of lower cortical, limbic and subcortical functions related to these responses. X-System has a unique capacity to analyse music tracks automatically and establish the potential to generate levels of arousal and counter-arousal in the listener. This unique method of analysis is a human universal and may be applied to music of all human cultures as well as to environmental and other sound sources. X-System is capable of categorising databases of music and sound according to core emotional effect. X-System may implement automatic categorisation remotely, for example for personal repertoires. X-System may also have the capacity to detect the state of mind and body of the user, using a unique radio electrode and microphone based conductance/heart rate sensor and other devices. X-System may use this sensor data to sub-select music from any chosen repertoire, either by individual track or entrained sequences, that when listened to, will help the user to achieve a target state of excitement, relaxation, concentration, alertness, heightened potential for physical activity etc. This is achieved by analysing music tracks in the user's database of music (using the musical parameters derived from the predictive model of human neuro-physiological response) and then automatically constructing a playlist of music, which may also be dynamically recalculated based on real-time bio-feedback, to be played to the user in order to lead her/him towards, and help to maintain her/him at, the desired target state.

As noted above, X-System models the effect of music on specific parts of the lower and middle brain, including the limbic system and subcortical systems, but these are not the only parts of the brain that respond to music. Other centres govern a more personal experience involving preference, culture, memory and association, the meaning of the lyrics, the historical context in which they were written, the knowledge of the circumstances of the performer or composer and other factors. These too have a significant effect, so it is important not to expect any piece of music to have an absolute effect on any one individual. INRM describes an important part of, but not all, musical effect. A prediction that certain pieces of music will calm the listener, or even induce sleep, is not like a drug or an anaesthetic, where the effect of a certain dose can be predicted with reasonable accuracy and where that effect cannot be resisted by conscious effort. Nevertheless, tests confirm that each of the elements of the brain that the INRM model is based on are strongly linked to arousal and counter-arousal. Music though, has its greatest effect when selected appropriately to accompany a desired state or activity and X-System offers an automated means of selecting music that is always appropriate to what the listener is doing, which can be very effective in a host of situations from treating anxiety to enhancing relaxation or concentration, or stimulating creative ‘flow’, or in bringing power and fluency to athletic activity. The brain modelling that underpins X-System offers a further capacity offered by no other existing categorisation system: it is universal; X-System may accurately predict levels of physiological arousal for all music of the world repertoire, whether it be Western classical and pop, Chinese or Indian classical or folk music, African pop or roots, or avant-garde electronica or jazz.

X-System has proven to be capable of outperforming expert musicologists in predicting, over a broad repertoire, a general index of arousal/counter-arousal based on the biometric parameters of heart rate and galvanic skin resistance, but were these biometric parameters to be different the equations, which we will describe later in this document, would almost certainly need to be modified; equally, there are many mathematical techniques familiar to those skilled in the art that could have been used to predict the neuro-physiological effect of a piece of music and any one of many might produce equally satisfactory results. A key feature of this invention therefore lies in the identification of the patterns in music that are neurophysiologically active (‘bio-active’) and that may have a predictable effect on human neurophysiology, including arousal and counter-arousal.

OTHER ASPECTS OF THE INVENTION

We list fifteen further aspects of the invention below, each of which may also be combined with any other:

1. A computer-implemented method of categorizing sound (such as any piece of music regardless of genre or cultural origin) (e.g. according to musical parameters derived from a predictive model of human lower cortical, limbic and subcortical neuro-physiological functioning and response to the pieces of music) in such a way that it may be selected (e.g. automatically based on biometric data captured by a sensor) to entrain neuro-physiological arousal towards a target level; this may occur while directing the listener towards one or more among a number of pre-assigned states of mind and/or affect, or in order to direct the listener towards one or more among a number of pre-assigned states of mind and/or affect. 2. Automatic categorisation of sound (such as pieces of music) in a remote database (e.g. according to musical parameters derived from a predictive model of human lower cortical, limbic and subcortical neuro-physiological functioning and response to the pieces of music). This includes the idea that we can search/discover music that has similar X-System deep structures and cross match conventional categorisation schemes (Gracenote® etc) to X-System. As an alternative to, or in addition to, automatic categorisation, X-System provides selection and ‘push’ for commercial or promotional purposes, or a methodology for description or detection of particular music, for all applications, not only entrainment. An example is a computer-implemented method of categorizing any piece of music regardless of genre or cultural origin according to its Innate Neuro-physiological Response to Music for the purpose of search, navigation, music discovery, retrieval and selection.

We now expand on the concept of search/discovery, in which X-System provides for automated search of musical remote and/or local databases and of X-System encoded services. In this application, users may:

-   -   Search for music that has similar signatures to the music they         tag that they like, by pressing a ‘find more’ or ‘I like’ key on         their computer or Smartphone X-System device App. This will         cross-match X-System encoding of universal arousal information         with other individual features within an App (such as         favourites, or frequently listened to) in order to create a new         level of personalisation;     -   Search by and for patterns of listening preferences amongst         social network groups, such that by sharing my preferences and         choices and communicating them to my friends, they will see the         relationships between my emotional response to particular tracks         and comparisons with others in the network;     -   Search by musical or experiential journey, such that a         particular sequence of music can be stored, for example, on my         Smartphone and repeated when I press ‘I liked that sequence,         store it so I can play it again’;     -   Search by finding patterns and relationships between tracks         users tag as ‘I like’, such that similar combinations of say         genre, musician, activity and X-System encoded arousal data can         drive recommendations. So, for example, X-System will generate a         playlist suggestion that will combine jazz, particular Miles         Davis tracks, writing an essay, concentration and arousal         levels, if a similar combination has been tagged from an earlier         listening sequence (the tagging of activity being part of the         Smartphone App); and     -   Search on Google and other web sites for X-System encoded         information, such that, for example, music, video or other web         content is categorised and tagged, either automatically; or in         collaboration with search engine providers such that it         ‘advertises’ X-System arousal or mood states; or according to         visitors who tag web sites automatically as they view pages.         3. An automated diagnosis of the level of lower cortical, limbic         and subcortical neuro-physiological arousal of an individual and         expressing it as a value in order to correspond to the musical         effect of any one of a theoretically unlimited number of pieces         of music in a database. Alternatively or additionally, there may         be provided a method of trial and error of self-diagnosis e.g.         by song selection as described above.         4. A computer-implemented method of creating a playlist of         tracks generated by automatically (or indeed manually) analysing         musical parameters derived from a predictive model of human         lower cortical, limbic and subcortical neuro-physiological         functioning and response to the pieces of music in order to         entrain arousal and direct state of mind and/or affect.         Optionally, this may include:     -   a) choosing a subset of the music in a database by reference to         existing descriptive metadata, if available, such as genre or         user-created playlist; b) selecting from this subset of music a         number of pieces that will correspond to the user's initial         level of lower cortical, limbic and subcortical         neuro-physiological arousal by matching it to music contained in         the relevant row of the musical effect matrix (we will explain         this matrix in more detail later); c) selecting a target state         of mind and/or affect; d) selecting a series of ascending or         descending musical effect values which correspond to the         expected entrainment path from the initial to the required level         of neuro-physiological arousal; e) on the basis of this series         of values, selecting qualified content from the music         database; f) choosing at random a playlist from the qualified         content subject to other rules such as genre preference, the         anti-repetition rule (see ‘Musical Selection Algorithms’ below)         or the Unites States' Digital Millennium Copyright Act (DMCA)         rules; g) repeating the calculation of the playlist at         intervals, based on continual biometric feedback—for example,         the playlist may be recalculated once per minute, based on         biometric feedback including the most recent feedback.         5. A method of determining the sufficiency of a (e.g. personal)         database of music for the entrainment of affect and of then         displaying information to the user with regard to sufficiency or         insufficiency.         6. A method of recommending a complement of musical content for         a personal database of music in order to ensure sufficiency, by         using musical parameters derived from a predictive model of         human lower cortical, limbic and subcortical neuro-physiological         functioning and response to that music.         7. A method of selecting music which has a similar musical         effect, (e.g. according to musical parameters derived from a         predictive model of human lower cortical, limbic and subcortical         neuro-physiological functioning and response to the pieces of         music). This may include a search by X System code.         8. A method of categorising music according to its musical         effect rather than its descriptive attributes.         9. A method of ordering a series of pieces of music in a         playlist by matching the musical effect of each piece with a         temporal series of values described by a musical effect vector.         10. A method of manipulating the arousal of a user by using any         of the above methods or systems.         11. A method to modify the properties of ambient sound in any         given environment, in order to produce a desired         neuro-physiological response in the listener, by using any of         the above methods or systems. And the use of this as a         selection, control or design tool to define such responses.         12. A system adapted to perform any of the above methods.         13. Software (whether device-resident, network resident or         elsewhere), firmware, SoCs or audio stacks programmed or adapted         to perform any of the above methods or to form part of the         system described above.         14. A computing device, such as a smartphone or tablet, adapted         to manipulate the arousal of a user by using any of the above         methods or by using or including any of the above systems,         software, firmware, SoCs or audio stacks.         15. Sensors adapted to work with the computing device defined         above.

Some more generalised observations now follow:

It is the identification of which structural and experiential phenomena in music activate which parts of the primitive brain, the development of techniques to measure them using digital signature analysis and the construct of a series of generic models that use relatively simple equations to predict levels of activation of relevant regions and organs of the brain, and in turn their effect on biometric indices, that are some of the key aspects of this invention.

Examples of the present invention may work with all musical genres and do not depend upon there being any pre-existing metadata in a database of digitised music. The database may be assembled by the user from his or her own collection and stored on a local playback device, in which case the music on the database may be profiled remotely, it may be supplied pre-analysed on a digital storage device, or it may be streamed from a central server. In these latter cases, the music may be associated with other data and/or digital media in order to enhance the user experience, or signature excerpts may be profiled and included in order to accelerate the desired effect.

The invention may be implemented as application software on either a remote server, on the music playback device itself or on another device that is connected to the music playback device either directly or via either a local or wide area network, or firmware or embedded in a chip; it may form part of an audio stack or may be used as part of a set of design tools. These implementations may enable real-time analysis of music tracks and other sounds, all done locally within a portable computing device such as a smartphone or tablet, or remotely on a server, or some combination of distributed local and server based processing. All such deployments will also support a consistent API to enable application vendors and service providers to access system capability, for example, to enable new application to be constructed and deployed.

If the necessary metadata are available, a preferred musical style may be chosen among those on the music database; if not, the system may select from the whole music database rather than a chosen subset.

The following terms are taken to have specific meanings in this document:

‘Level of neuro-physiological arousal’: an index calculated, for example, as a function of galvanic skin conductivity and pulse rate, though other parameters may also be selected including where more complex measurement is required. Different levels of neuro-physiological arousal facilitate different activities, states of mind and affect.

‘State of mind’: the dynamic relationship between functional areas of the brain associated with different types of thought such as creativity, learning, meditation, imagination etc.

‘Affect’ (noun): as used in psychology to mean feeling or emotion and in psychiatry to mean expressed or observed emotional response. Mood.

‘Musical Effect’: the state of mind or mood that is provoked by a given piece of music and the influence it has upon neuro-physiological arousal.

‘Sound’: includes any sound, including music as that term is conventionally understood but also extending to other sounds such as the ambient or background noise in a workplace, cinema, home, shop, vehicle, car, train, aircraft: anywhere where sound can in theory effect listener arousal. For example, tuning car exhaust notes would be one example; modifying engine sounds another. Sounds of nature (wind, ocean etc.), sounds of animals, sonifications (planets, stars, flowers, trees, financial markets, cell activity etc.) are other examples of ‘sounds’. In this document, we will refer to ‘music’, but that term should be expansively construed to include not merely music in the sense of the art form in which voices and/or instruments are combined to give harmony, beauty or self-expression, but also all other forms of sound, as that term is expansively defined above.

A note on terminology: The primary auditory cortex is situated in the temporal lobes of the neo-cortex—the most “evolved” part of the brain, but it is essentially “low” in the system and hence ‘lower cortical’. Organs critical to X-System, such as the hippocampus and amygdala are generally described as “limbic” (from the Latin “limen, liminis”, meaning “threshold”, i.e. at the lower limit of the neo-cortex). These are close to emotion-related areas such as the nucleus accumbens, and periaqueductal grey, sometimes also regarded as limbic. The limbic system may also be described as the archicortex and paleocortex—the “main, initial or ruling” and “old” cortex. Finally, many X-System areas related to rhythm, core emotion and movement are sub-cortical, for example the basal ganglia and cerebellum.

X-System therefore relates primarily to lower cortical, limbic and sub-cortical areas of the brain, concerned with fundamental and universal responses to music, as opposed to more cognitive-related, culture-related and reflective areas of the neo-cortex.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a graphical representation of the neural elements involved in audio processing applicable to the X-System. Elements enclosed within the solid boxes are part of the current model; elements contained in the dashed boxes may be included in the model.

FIG. 2 shows an overall system construction where the user of the system both selects their desired affect goal and is the recipient of the generated output.

FIG. 3 shows an overall system construction where selection of target affect is made by a party external to the user of the system.

FIG. 4 shows an implementation of the X-System invention where all aspects of the software reside on the users PC (the term ‘PC’ should be construed expansively to cover any computing device of any form factor, including any device capable of performing computing functions).

FIG. 5 shows an implementation of the X-System invention where a primary music library, and analysis software resides on a user PC, with the ability to transfer a selection of music to a personal music player device, which then generates a dynamic playlist based on the available music.

FIG. 6 shows an implementation of the X-System invention where an external service provider offers an analysis tool via a network connection. Audio may reside on either the user's PC or be “streamed” by the service provider, and a database of stored musical affect may be used to minimise track analysis.

FIG. 7A is a detailed block diagram showing the major components of the X-System audio analysis tool used in analysing harmonicity.

FIG. 7B is a detailed block-diagram showing all of the major components of the X-System audio analysis tool.

FIG. 8 is a detailed block-diagram showing the major components of the X-System music playback and monitoring application.

FIG. 9 shows schematically arousal as a function of time, for Excite, Maintain or Relax pathways.

FIG. 10: Modelling of the cochlea and primary auditory pathways is achieved through the use of an A-weighting filter. This attenuates lower frequencies and amplifies higher frequencies, dropping off again quickly towards the upper frequency limit of human hearing.

FIG. 11 shows Beat Energy as a function of time.

FIG. 12 shows Harmonic Energy as a function of time.

FIG. 13 shows Harmonic Cost as a function of time.

FIG. 14 shows Volume as a function of time.

FIG. 15 shows Harmonic Energy as a function of time.

FIG. 16 shows sample categorisation from the Miles Davis repertoire.

FIG. 17 shows an example of other manual categorisations, in which tracks are further sorted into stable, rising and falling vectors.

FIG. 18 shows an example in which movements from Beethoven symphonies have been categorized according to the vectors.

DETAILED DESCRIPTION

This Detailed Description has the following sections:

A. High Level Concepts

B. The Innate Neuro-physiological Response to Music (INRM) in more detail

C. How X-System is used

D. The Sensor or Sensors

E. Musical Selection Algorithms

F. The Music Player

G. Diagnostic and streaming software

H. Manual categorisation

I. Manual categorisation vectors

J. Social Networks

K. Opportunities for Expansion/Enhancement

L. Benefits of X-System

A. High Level Concepts

There is scientific evidence that music entrains and shapes arousal, state of mind and affect through direct neuro-physiological engagement; this invention concerns the discovery and general method of determination of the Innate Neuro-physiological Response to Music, and includes a novel method of harnessing this phenomenon. As noted above, this invention is implemented in a product called X-System. X-System harnesses the potential of music to effect neuro-physiological changes in listeners, in particular in relation to arousal and counter-arousal and associated states of mind, working at the level of the most fundamental, innate, neuro-physiological functioning and response of the limbic, lower cortical and sub-cortical regions of the brain.

It differs from other approaches to music categorization in that it is not concerned with musical similarity, either by semiotic labelling or the analysis of acoustic characteristics. It also differs from standard therapeutic approaches, such as classification of mood.

X-System works through predictive, deterministic modelling of INRM (Innate Neuro-physiological Responses to Music) (Osborne 2009, unpublished), see FIG. 1, and the structuring of pathways towards target states of body and mind. Section B explains INRM in more detail. In brief, the INRM paradigm assumes a standard interpretation of audition, from the auditory canal to the oval window of the cochlea. The cochlea itself is modelled to reproduce the characteristics of human audition. The paradigm further assumes neural pathways to the inferior collicus and primary auditory cortex. Levels of arousal related to pulse and rhythmicity are predicted through a simple modelling of mirror neuron and pre-motor related systems, including tempo induction and indices of rhythmic power and density. Other bio-active characteristics of music may also be modelled such as the identification of rhythmic patterns in the right anterior secondary auditory cortex, among others.

X-System additionally models the functioning of Heschls gyrus, the posterior planum temporale, superior temporal sulcus and circular insular sulcus to predict arousal-related qualities of timbre and exponential series-related frequency structures, including octave equivalences. There are other modelling possibilities such as arousal-related effects among chroma (individual notes of melodies) in the planum polare using, for example, harmonicity indices.

Finally, general levels of ‘turbulence’ are calculated as a prediction of arousal and counter-arousal in core emotional locations and organs such as the periaqueductal grey and amygdala.

The predictive arousal and counter-arousal values calculated are combined to model the process of arousal and counter-arousal in the autonomic nervous system, and associated systems such as the HPA (hypothalamic-pituitary-adrenal) axis.

A sensor may optionally be used to establish the state of arousal of the user, and music categorised by predictive modelling of the INRM paradigm can then be streamed/played back to achieve the target arousal state for that user. In an alternative implementation sensors are not provided. Instead, both initial and target states are self-selected, either directly or indirectly (such as, for example, by selecting a ‘start song’ which has an arousal value relative to the user's true current state). For example, where the user makes a poor initial selection, he/she might skip from song to song initially until one is found (i.e. by trial and error) that is both ‘liked’ and ‘fits’ with their initial state. From there, X-System, in a sensor-less implementation, may create a playlist tending towards the desired arousal state based on expected normal human response.

In another alternative, an implementation is provided for a group of people as a system with software but no sensor, reliant on average expected response. An application is for ‘crowd’ applications, where an automated disc jockey (DJ) would be able to manipulate the mood of a crowd at a party.

Other alternatives include applications controlling the personal audio environment by sending emotional cues to the system via sensors, and polling group emotion via either sensor or sensorless inputs, in order to entrain the person or group towards a desired response.

Other alternative applications include the search, selection, description, detection, sharing or promotion, of music based on its neuro-physiological content.

As in the case of all systems and activities related to music and arousal, there are variations in response among individuals, and variations as a result of extreme or unusual states of body and mind, medication etc. The strength of X-System is that it works on the basis of the most fundamental physiological responses, which may act in an ethical and democratic synergy with conscious and unconscious consent of the user. A further strength of the INMR-based categorisation system is that it may be applied to the music of any human culture, and indeed both to sound design and sounds of the natural world.

B. The Innate Neuro-Physiological Response to Music (INRM) in More Detail

FIG. 1 shows a simplified model of the neural structures related to auditory processing and interpretation. The X-System example of the invention may model the functioning or behaviour of these systems in response to sound (e.g. musical) stimulus as described in the following sections.

The Innate Neuro-physiological Response to Music Paradigm is a predictive, deterministic model of the mind and body's most fundamental response to music. Although responses to music are profoundly influenced by culture, personal history and context, there are basic neuro-physiological reactions that are universal to all musical experience. A substantial body of recent research in neuro-physiology and neuroscience, including evidence from functional Magnetic Resonance Imaging, EEG and Positron Emission Tomography, as well as studies related to endocrine and autonomic activity has made it possible to build a predictive model of how the lower cortical, sub-cortical and limbic parts of the brain react to sound.

X-System makes use of the following protocols for audio input. Input is taken from uncompressed WAV files or any other suitable format (X-System can use lower quality file formats when undertaking remote categorisation—e.g. categorising music tracks on a remotely held server or personal device. Equally, higher quality file formats may be more appropriate in other circumstances). If the track is in stereo, we combine both channels by averaging them. This is particularly important, for example, for 1960s tracks, where some loud instruments were positioned full left or right. This should not cause interference unless the audio has passed through faulty stereo equipment (e.g. a misaligned tape head). The track is split into sections of a given length, and the analysis is carried out independently for each section.

FIG. 7A is a block diagram showing the major components in X-System for analysing harmonicity and FIG. 7B is a block diagram representation of all of the major components of the musical analysis tool. The operation of the major components will be described in the remainder of this Section B.

B.1 the Cochlea and Primary Auditory Pathways

Modelling of the cochlea and primary auditory pathways is achieved through the use of an A-weighting filter, as specified in IEC 61672. This attenuates lower frequencies and amplifies higher frequencies, dropping off again quickly towards the upper frequency limit of human hearing; the filter ‘knee’ is at around 6 kHz. This weighting is required to ensure that (as in human audition) high energy lower frequency sounds do not overwhelm other spectral information. See FIG. 10.

B.2 Harmonicity: Heschl's Gyrus and Associated Tonotopic Maps

“Harmonicity” describes the correspondence of sound (e.g. music) to the pattern of the harmonic series (harmonic series are present in the sound you hear when the winds blows through a hollow tree, run your finger lightly up the string of a violin or guitar, or blow progressively harder on a single note on a flute). The harmonic series is a universal pattern of concentrations of sound energy in symmetrical resonating objects: a fundamental tone f, sounds together with its harmonics f2, f3, f4 etc. This pattern has been important throughout the evolution of sentient life forms, from the harmonic resonance of the primal cell, through the perceived “safety” of harmonic sounds in the environment, to the pleasing harmonic resonances of musical instruments and the human voice. “Harmonicity” or correspondence to the pattern of the harmonic series is detected by Heschl's Gyrus, located in the primary auditory cortex of the brain. Harmonicity activates centres of counterarousal and pleasure in core emotional centres of the brain. Inharmonicity, or lack of correspondence to the harmonic series activates systems of arousal.

X-System models the functioning and response of Heschl's Gyrus to sound by determining levels of harmonicity and inharmonicity. This may be a complex process. Musical structures may involve several fundamentals each with their own harmonic or inharmonic spectrum.

X-System is unprecedented in that it combines all emotional processing of pitch and timbre in two harmonicity-related algorithms. Timbre (the internal structure “colour” of a sound), harmonicity (the extent to which the internal structure corresponds to the pattern of the harmonic series) and individual pitches are initially processed in the primary auditory cortex. The main area for processing timbre is the posterior Heschl's gyrus and superior temporal sulcus, extending into the circular insular sulcus (McAdams et al 1995; Griffiths et al 1998; Menon et al 2002). Pitch is processed progressively deeper in areas surrounding Heschl's gyrus: chroma (or differences of pitch within the octave, as in most conventional melodies), activate bilateral areas in front of Heschl's gyrus and the planum temporale, while changes in pitch height (octave transpositions and the like, as in the difference between a man and woman singing the same tune) activate bilateral areas in the posterior planum temporale (Brugge 1985; Pantev et al 1988; Recanzone et al 1993; Zatorre et al 1994; Warren et al 2000; Patterson et al 2002; Formisano 2003; Decety and Chaminade 2003; Jeannerod 2004; Talavage 2004). Harmonicity and pitch structures activate areas of the amygdala and hippocampus, and in turn the autonomic nervous system, core emotional centres, and endocrine and neurotransmission systems (Wieser and Mazzola 1986; Blood and Zatorre 2001; Brown et al 2004; Baumgartner et al 2006; Koelsch et al 2006). X-System predictively models the neurophysiological sensing of simple timbre (Heschl's gyrus, superior temporal sulcus, circular insular sulcus) by analysing windows of vertical harmonicity: X-System detects a principal fundamental through calculation of the harmonic product spectrum, then establishes degrees of harmonicity both within and among the spectra of different fundamentals. This analysis is applied both “vertically” to instantaneous moments, and “horizontally” to progressions of pitches and spectra in time (related to the tonotopic mapping of the area around Heschl's Gyrus) and expressed in terms of linear harmonic cost.

In one very simple implementation, the mean values of linear harmonic cost (C) and instantaneous harmonicity (H) are combined to calculate the inharmonicity (I) of a piece where: I=C/10−H

This equation is a non-limiting example of how inharmonicity can be calculated and other ways of linking I to C and H may well be appropriate; furthermore, I may be defined in terms of other or additional variables, as may C and H. See FIGS. 12 and 13, showing harmonic energy and cost as a function of time.

More details on Harmonicity calculation now follow:

B.2.1 Spectral Analysis

First the STFT of the audio is taken with a window length of 8192 samples and an interval of 2250 samples (0.05 seconds). This produces a 2D array of time vs frequency.

B.2.2 Cochlear Modelling

As in the case of rhythmic processing, analyses are performed on a transformed instance of the input sample data, which accounts for certain aspects of the auditory pathway, primarily the cochlea pick-up. The behaviour of the cochlea is well understood and accurate models have been developed. We apply a frequency-dependent gain function to the input signal, which attenuates bass signals and amplifies treble components, with a filter “knee” at around 6 kHz. The exact transform used is the “A Weighting” as specified in IEC 61672.

B.2.3 Fundamental Frequency Detection

For each time slice of the STFT array, the fundamental frequency is determined using the harmonic product spectrum method, as follows:

-   -   Take the frequency spectrum, and produce copies of it compressed         along the frequency axis by factors of 2, 3, 4 and 5.     -   Multiply all 5 copies (including the original)     -   The fundamental frequency is the maximum value of the resulting         spectrum.         B.2.4 Mean Harmonicity

For each time slice of the STFT array, the mean harmonicity is the ratio of harmonic energy to the total energy present in the slice. Harmonic energy is energy found in the following harmonics of the fundamental, as well as of ½ and ¼ of the fundamental: [1 2 3 4 5 6 7]. For each of these harmonics, we sum the energy found in the closest STFT bucket, plus 3 buckets on either side.

B.2.5 Linear Harmonic Cost

Predictions of activity in, and progression through, areas surrounding Heschl's Gyrus (planum temporale, posterior planum temporale) including chroma, octave changes and chord progression etc. are combined in a single operation, described as “linear harmonicity” or “harmonic cost”.

This is entirely unprecedented: it analyses all melodic and harmonic progressions in terms of how far each step deviates from the simple ratios of the harmonic series: Linear harmonic cost arises from STFT time slices whose fundamental frequency differs from that of the previous slice. Time slices with no change in fundamental have a cost of zero. The fundamental frequency is first normalised by rounding it to the nearest musical note value under the A440 tuning, then shifting it to a single octave. The (normalised) fundamental is then compared to the previous one: If they are identical, the cost is zero. If the new fundamental is one of the following harmonics and sub-harmonics of the previous (normalised) fundamental ( 1/9 1/7 ⅙ ⅕ ⅓ 3 6 7 9) then the cost is defined as equal to the multiplier of the harmonic or divisor of the sub-harmonic. Otherwise the cost is defined as 15.

Linear harmonic cost is expressed in terms of cost per second. The metric therefore represents both the rate at which the fundamental is changing, and the harmonic distance of the changes. Higher numbers indicate a more stimulating effect.

Linear harmonicity activates similar emotional systems to vertical harmonicity (Wieser and Mazzola 1986; Blood and Zatorre 2001; Brown et al 2004; Baumgartner et al 2006; Koelsch et al 2006).

B.2.6 Harmonicity and Valence

Both vertical and linear harmonicity are powerful indices of valence (Fritz 2009), or whether a sound is “positive” or “negative”, “pleasing” or “not so pleasing”. Linear harmonicity may track the evolution of valence indices over time—the principle is simply the more harmonic, the more positive valence, the less harmonic, the more negative valence.

It is conceivable that the Heschl's gyrus-related equations may be reconstituted with a different mathematical approach. It is highly unlikely that the planum temporale function could be approached in any different way.

B.3 Rhythmicity: Mirror Neurons, the Auditory and Pre-Motor Cortex

Human responses to musical rhythm involve a complex set of activations of mind and body systems (Osborne 1. 2009; Osborne 2. 2009; Osborne 3. 2012) including perceptual systems, the dorsal cochlear nucleus, inferior collicus and spinal systems (Meloni and Davis 1998; Li et al 1998) the primary and secondary auditory cortices (Peretz and Kolinsky 1993; Penhune et al 1999), mirror neurons (Rizzolati et al 2001; Gallese 2003; Molnar-Szakacs and Overy 2006; Overy and Molnar-Szakacs 2009), pre-motor and motor cortices, basal ganglia, vestibular system and cerebellum (Zatorre and Peretz 2001; Peretz and Zatorre 2003; Turner and Ioannides 2009), the autonomic nervous system (Updike and Charles 1987; Iwanaga and Tsukamoto 1997; Byers and Smyth 1997; Cardigan et al 2001; Knight and Rickard 2001; Aragon et al 2002; Mok and Wong 2003; Lee et al 2003; Iwanaga et al 2005), and finally somatic and core emotional systems (Holstege et al 1996; Gerra et al 1998; Panksepp and Trevarthen 2009). Some of these may be related in particular to the firing of mirror neurons capable of regenerating perceived behaviours, vitality affect and energies encoded in the sound and its manner of performance in the mind and body of the listener. Fast rhythms of high energy activate arousal in both the Autonomic Nervous System and endocrine systems such as the HPA axis. Slow rhythms activate counterarousal.

X-System detects a basic, “default” rhythmic pulse in terms of beats per minute. There are often difficulties in establishing meter, but X System approximates the arousal effect of metrical structures by averaging the accumulation of power of rhythmic events over time. The power of a rhythmic event is defined as the ratio of the energy before the beat to the energy after it. In one very simple implementation, the beats per minute value (B) is combined with the mean of the beat strength (S) to produce a value for rhythmicity (R) where: R=√B*S^2

This equation is a non-limiting example of how rhythmicity can be calculated and other ways of linking R to B and S may well be appropriate; furthermore, R may be defined in terms of other or additional variables. R, in general, may be a function of B and S, but the optimal relationship will depend on various factors. See FIG. 11, showing beat energy as a function of time.

More Details on Rhythmicity:

B.3.1 Cochlear Modelling

As explained earlier, aural perception of rhythm is predicted through conventional cochlear modelling: Following audio input, all subsequent analyses are performed on a transformed instance of the input sample data which accounts for certain aspects of the auditory pathway, primarily the Cochlea pick-up. The behaviour of the Cochlea is well understood and accurate models have been developed. We apply a frequency-dependent gain function to the input signal, which attenuates bass signals and amplifies treble components, with a filter “knee” at around 6 kHz. The exact transform used is the “A Weighting” as specified in IEC 61672.

B.3.2 Rhythmic Induction

The activations of primitive spinal pathways and the pre-motor loop (including basal ganglia, vestibular system, cerebellum etc.), all concerned with primal responses to rhythmic impulses, are predictively modelled by beat induction, using a specifically calibrated onset window.

Rhythmicity is, of course, a parameter that models the basic tempo of the sample, as well as higher order metrical structures within. It is computed by first determining note onsets, using spectral flux peak detection. These onsets are then used to generate and score a large number of metrical structure hypotheses. Candidate hypotheses are generated, filtered, and scored, using the methods of Dixon [Evaluation of the Audio Beat Tracking System BeatRoot, Journal of New Music Research, 36 (1), 39-50, 2007]. In addition to the methods described therein, we extend the process to include the magnitude of the spectral flux surrounding the onset event in order to estimate higher order structure. The hypotheses generated are filtered and scored using the same methods, with the final output comprising an estimate of the fundamental tempo of the sample, a secondary output in which the tempo is weighted according to the predicted metrical structure, in which the more distinct an accented beat is from the base beat, the higher this value. A confidence value is also expressed as the variance of the distribution of these outputs for all beat hypotheses scoring above a given threshold. This confidence value is normalised to permit comparison across samples.

B.3.3 Auto-Correlation

Rhythmic pattern recognition and retention (for example in the secondary auditory cortex of the temporal lobes) is predictively modelled by self-similarity/auto-correlation algorithms (e.g. Foote http://207.21.18.5/publications/FXPAL-PR-99-093.pdf.)

First the audio is Hamming-windowed in overlapping steps; the log of the power spectrum for each window is calculated by means of DFTs (discreet Fourier transforms). these coefficients are perceptually weighted through Mel-scaling. Finally a second DFTis applied to create cepstral coefficients. High-order MFCCs (Mel-frequency cepstral coefficients) are discarded, leaving the 12 lower-order MFCCs, forming 13-dimensional feature vectors (12 plus energy) at a 100 Hz rate. These data are then subjected to vector autocorrelation, plotted in a two-dimensional window, where both x and y axes plot the unfolding of the track in time. Areas of “brightness”, reading upwards, for example, from the first instant of the track on the x axis, indicate points of similarity, and likely metrical structures.

Density of distribution of points is also used in a predictive index of rhythm-induced arousal (the greater the density, the higher the arousal).

B.3.4 Power

Activation of mirror neuron systems, which detect, among other things, the power, trajectory and intentionality of “rhythmic” activity, is predictively modelled through indices of rhythmic power, including computation of volume levels, volume peak density, “troughs”, or the absence of energy and dynamic profiles of performance energy.

B.3.5 Volume Envelope Analysis

The volume envelope is calculated as the RMS of 5 ms slices of the amplitude data.

B.3.6 Volume Level

This is simply the mean RMS level over the time period.

B.3.7 Volume Peak Density

Number of volume peaks per slice (usually 10 seconds), as found by the MATLAB findpeaks function with minpeakdistance=100 ms, multiplied by the mean height of the peaks above the volume mean, divided by the volume standard deviation.

B.3.8 Volume Differential Peak Density

As Volume Peak Density but taken on the first differential of the volume.

B.3.9 Volume Trough Length

The average durations for which the volume is lower than half a standard deviation below the volume mean.

B.3.10 Volume Trough Minima

The mean of the volume minima of volume troughs divided by the volume standard deviation.

B.3.11 Dynamic Profile

In addition, the profile of expenditure of energy (precipitous for high arousal, smooth for low) before and in between onsets, which appears to be important mirror neuron information, will in future be predicted by computation of profiles of energy flow leading to significant articulations.

For example, τ “tau” coupling (Lee 2005): τx=Kx,g τg where tau=time at origin of glide (end of previous onset), x=the gap preceding the next detectable onset, g=a patterned flow of electrical energy through an assembly of neurons, kappa=movement value determined by the brain. Profiles of energy will be determined by profiles of mean values of kappaXG.

B.3.12

Standard, commercially available software for rhythm detection may be used satisfactorily for some genres of music, but such software may fail to detect the specific bio-activating rhythm of any given piece of music and may even have difficulty in detecting rhythm at all in some. The above algorithms, which predictively model the activations of core rhythmic processing centres of the brain, have proved reliable. Some of these algorithms, for example beat detection, could in theory be replaced by other mathematical procedures. The originality of the invention lies in the unprecedented nature of the biological modelling. Thus we have a phenomenon in music (rhythm) that is known to have an effect on arousal and counter-arousal in the autonomic nervous system (as well as core emotional systems, endocrine activity and neurotransmission), which in turn is known to have a powerful influence on how you feel: relaxed, able to concentrate, wanting to dance etc. We also have a means of measuring the effect of the rhythm (our sensor). Our categorisation algorithms (above) take as an input the relevant data from the digital signature analysis and yield as an output a predicted impact on the chosen biometrics. Intense rhythms will have an arousing effect while gentle rhythms will have a calming effect, and there is no shortage of prior art based on the same principle. In modelling the innate neurophysiological response to rhythm an algorithm linking this measurement of rhythm to its expected effect on (in this embodiment) heart rate and galvanic skin conductance is hypothesised, tested and refined.

B.4 Turbulence and Core Emotional Systems (Locations and Organs)

The ‘turbulence’ of a piece of music relates to the speed and extent to which it changes over a period of time, in terms of rhythmicity and harmonicity as well in terms of general fluctuations in sound pressure.

‘Turbulence’ combines indices of change in rhythmicity and harmonicity, related to pathways described above, with auditory brainstem and cortical activity innervating the amygdala, hippocampus and core emotional regions affecting neurotransmission and endocrine systems, including the HPA axis, dopamine circuits and levels of for example, norepinephrine, melatonin and oxytocin (Miluk-Kolasa et al 1995; Gerra et al 1998; Kumar et al 1999; Evers and Suhr 2000; Schneider et al 2001; Blood and Zatorre 2001; Grape et al 2003; Uedo et al 2004; Stefano et al 2004; Herbert et al 2005; Nilsson et al 2005). This important predictor of arousal and counterarousal may be represented as the differential of rhythmicity and harmonicity.

‘Turbulence’ is therefore a measure of rate of change and extent of change in musical experience. These factors seem to activate core emotional systems of the brain, such as the amygdala and periaqueductal grey, which are in turn linked to autonomic and endocrine systems. At high levels of musical energy turbulence may enhance arousal; at low levels it may add to the counterarousal effect.

The total turbulence (T) of a piece is determined as a combination of the turbulence of the harmonicity (H′) of the piece and the energy present during peaks of volume of the track (P). Turbulence of harmonicity is calculated as the standard deviation of the differential of the harmonicity, divided by the mean of the differential.

In one very simple implementation, total turbulence is calculated as: T=dH/dt*P

This equation is a non-limiting example of how turbulence can be calculated and other ways of linking T to H and P may well be appropriate; furthermore, T may be defined in terms of other or additional variables.

See FIGS. 14 and 15, showing volume and harmonic energy as a function of time.

B.5 Combining Values

Each of the algorithms described above, hypothesised and refined through testing, has effectively become a ‘virtual organ’ of the brain that helps us predict the effect on levels of arousal and counter-arousal of patterns that can be detected in music using digital signature analysis. The relative weighting of each ‘organ’ may be adapted using heuristic, machine learning or other techniques to calibrate the overall predictive power of the set of ‘virtual organs’ working in harmony.

Any subset of the above analyses may be combined together to produce a single number estimating where a piece of music (or part thereof) lies on the scale from relaxing to exciting. The formula used to perform this combination may be derived from experimental data, as follows: A number of human listeners listen to the same selection of tracks. Each listener then independently ranks all the tracks in order from what they consider the most relaxing to the most exciting. (The ranking could also be done objectively by measuring the listeners' physiological data, but this has so far given much less consistent results across listeners.) A statistical regression analysis is then carried out, with the average human ranking as the dependent variable, and the chosen subset of musical analyses as the independent variables. In other words, a single formula is produced which uses the analyses to predict the human rankings. The coefficients in this formula are chosen to give the best possible prediction, considered over all tracks. The resulting formula may then be used to produce automated predictions on a mass scale for a much larger number of tracks. Consider the following example data:

Average human Mean harmonicity Volume Rhythmicity Track ranking (0-1) (mh) level (vol) (rhy) 1 0.2 0.212 0.010 118 2 0.4 0.231 0.069 228 3 0.5 0.204 0.123 187 4 0.6 0.225 0.294 130 5 0.8 0.173 0.163 155

Any statistical regression method may be used to produce the overall formula. For example, if we use multiple linear regression with the ordinary least squares estimator, we obtain the following: Predicted ranking=−6.59*mh+1.63*vol+0.0018*rhy+1.36

Non-linear transformations of one variable (e.g. logarithm or reciprocal) or non-linear combinations of multiple variables (e.g. their product or ratio) may also be used, by pre-calculating them and then treating them as additional variables in the regression.

The coefficients employed in each of the algorithms, and the relative weighting of the algorithms in combination, may be optimised for different musical styles using metadata (such as genre and artist) that are typically carried alongside music distributed in digitised formats such as the Compact Disc and over the Internet. With the accumulation of large amounts of (anonymised) human response data that may be fed back (with the consent of the listener) in networked deployments of X-System it will be possible to fine-tune the relative weighting of both the equation coefficients and their relative weighting in combination to improve accuracy. Similar optimisation of coefficients and weightings will be achieved by analysing user data in combination with the music metadata (such as genre and artist) that are typically available with music distributed in digital formats, and in due course this optimisation will be extended to both the individual user and specific recordings.

The overall arousal index calculated for each piece of music may be expressed either as a single number that describes the overall neurophysiological effect of listening to it from start to finish, or it can be displayed graphically with arousal index on the vertical axis and time on the horizontal axis. The resulting trace would effectively describe the neurophysiological journey a listener may expect as they listen from beginning to end. This latter is likely to be of particular use in longer and more complex pieces of music such as much of the classical repertoire, whereas some other repertoire such as modern Western pop music might more conveniently be represented by a single number. In either case, the effect of a piece of music is both inherent (in that it is a product of the patterns detected in the music) and dependent on the state of the listener (in that the neurophysiological effect of music is relative rather than absolute [Altshuler ‘The Iso-Moodic Principle’ 1948]).

As we learn to navigate the brain in greater depth and detail, and as sensor technology develops further, different equations will be developed to predict the effect of different musical structures on different measurable outputs. All these instances of the application of the Innate Neurophysiological Response to Music are intended as different implementations of the present invention, which claims a novel system and method of predicting the effect on universal human neuro-physiology of any piece of music from any musical tradition by means of analysing bio-activating patterns in music and using mathematical equations tailored to specific biometric indices to predict the effect of these musical patterns on the chosen biometric indices.

B.6

This section describes an alternative approach to combining values for rhythmicity, inharmonicity and turbulence to produce an excitement (E). In this alternative approach, E is given by: E=(10*I*R)+T

This equation is a non-limiting example of how excitement E can be calculated and other ways of linking E to I, R and T may well be appropriate; furthermore, E may be defined in terms of other or additional variables.

This generally produces a number from between −1 and 7, representing the range of the counterarousal-arousal scale. Currently the thresholds for five arousal categories are approximated as

-   -   −1 to 0.6=1     -   0.6 to 2.2=2     -   2.2 to 3.8=3     -   3.8 to 5.4=4     -   5.4 to 7=5

An alternative is an equation where rhythmicity and harmonicity are multiplied and turbulence added. In other examples, log scales and Fibonacci progressions may be used in the analysis of auditory data.

More detail: For each of R, H and T, X-System records both a single average value (μR, μH, μT) and a profile of variation further categorized as ascending, descending or stable (ΔR>0, ΔR<0, ΔR=0; ΔH>0, ΔH<0, ΔH=0; ΔT>0, ΔT<0, ΔT=0).

The average values of R, H and T are mapped (in the simplest case the normalised mean is taken) to an n dimensional point p characterising physiological state. The variations of R, H and T are also mapped (again, in the simplest case the normalised mean is taken) to another n dimensional point q characterising the directional effect these values will have on the physiological state.

The concatenation of p and q allows each musical excerpt to be mapped onto a Musical Effect Matrix M, a 2*n dimensional matrix, n dimensions corresponding to the physiological parameters measured by E representing granular ranges into which E can fall, the other n dimensions corresponding to the effect the track will have on the physiological parameters (ascending, descending or maintaining any given physiological parameter or dimension of E).

We now describe in more detail how the Music Effect Matrix M is generated. As noted earlier, FIG. 7A is a block diagram showing the major components in X-System for analysing harmonicity and FIG. 7B is a block diagram representation of all of the major components of the musical analysis tool. The values output by the analysis are specified as functions in t, the time index of a particular measurement. These values (corresponding to R, H and T) are grouped as follows:

-   -   X(t): values for rhythmic “presence”, tempo, power and density         of pulse-related rhythmic structures, and harmonic         rhythm—related to cerebral cortex activity, core emotional         locations, and autonomic and endocrine responses.     -   Y(t): degree of conformity, within the limits of human         perception, to exponential series-related frequency structures         in melody and harmony—related to the cochlea, Heschl's gyrus and         cerebral cortex processing, core emotional locations and         autonomic and endocrine responses.     -   Z(t): the rate and magnitude of variation in X(t), Y(t) and         dynamic power (W(t)) which is measured using the normalized,         gain adjusted volume level—related to activation of core         emotional systems, and the endocrine and autonomic nervous         systems.

Categorization may be preceded by aggregation, documenting provenance, genre and other data for music tracks. This may be according to an industry standard such as that provided by Gracenote®, it may be the result of individual user editorial, crowd-sourcing methods such as collaborative filtering, or may be the result of future aggregation standards based on, for example, digital signature analysis. The purpose of aggregation is to allow the user to choose a preferred musical style, though it is not strictly necessary for the proper functioning of X-System.

In order to reduce the computational cost of analysing a piece of music, only certain regions are examined. The location and length of these regions are determined dynamically, based on configurable parameters and an adaptive mechanism that recursively examines regions with a large rate of change. This produces a sparse array of values for each function, identified by a time index. Due to the recursive analysis, the step size_t will vary over the function domain t.

Algorithmically, these regions are generated by applying a windowing function to the incoming audio data. The sampling window is then “stepped” over the region, and the results of each step are aggregated to form the single output at time t. For example, a region may consist of the (absolute) time interval (0 s; 1 s), which is further windowed into 50 ms samples, with a 10 ms step size. This produces a total of 96 sample points, which are combined to form a single value X(0)=x.

The analysis of X(t) is performed by an “acoustic streaming”—based rhythmic induction, combined with pattern-recognition and an index of power and density.

Rhythmic induction is performed using two main techniques; band-limited power spectral density onset analysis, and adaptive comb filtering. The results of both techniques are then subjected to a number of heuristics based on music theory, and are combined to form a single estimate of the musical rhythm.

Heuristics include rules such as the minimum and maximum plausible tempos or some form of probability distribution of likely tempos for a given input genre if known. They may also include emphasis and de-emphasis of certain frequency bands based on the input.

Spectral Density Onset Analysis uses a sequence of short-time Fourier transforms of the windowed samples to calculate the energy present in specific frequency bands. This data is tracked temporally to observe peaks in bands, which characterise rhythmic events.

Comb Filtering involves convolution of the input signal with a variety of impulse trains of different spacing, on the basis that as the impulse spacing approximates the rhythm of the input, the overall convolution result will increase. This technique can then be used recursively to find a best-fit impulse spacing which characterises the input rhythm.

Values for Y(t) are established by means of an adaptation of auditory scene analysis. The audio input data are passed through a gammatone cochlear filter bank, splitting them into multiple streams. For each stream, special, frequency and onset information is calculated.

Spatial information is acquired from stereo tracks of each stream, frequency peaks are calculated using a Fourier transform and onset detector maps are applied to find the starts of sound elements.

This information is combined and correlated to partition the audio data input into sound sources. For each of these sound sources a number is calculated as the ratio of sound energy within the harmonics of its fundamental frequency to the sound energy outside the harmonics of its fundamental frequency. Y(t) is the mean value of the ratios for each sound source from the excerpt.

The fundamental frequency is determined using a Harmonic Product Spectrum, in which the signal is repeatedly multiplied with down-sampled copies of itself, causing a large peak to occur in the frequency spectrum corresponding to the fundamental frequency. Standard signal-processing techniques are also applied to de-noise the resultant output.

Z(t) is measured as the rate and magnitude of variation in X(t), Y(t) and W(t).

In each of these cases (X(t), Y (t) and Z(t)) the system records both a single average value (μX, μY, μZ) and a profile of variation further categorized as ascending, descending or stable:

-   -   Ascending—An overall positive trend in the functions X(t), Y (t)         and Z(t).     -   Descending—An overall negative trend in the functions X(t),         Y (t) and Z(t).     -   Stable—Only minor deviations from the mean p, result over the         audio input signal.

The average values of X, Y and Z are mapped (in the simplest case the normalized mean is taken) to an n dimensional point p characterizing physiological state. The variations of X, Y and Z are also mapped (again, in the simplest case the normalized mean is taken) to another n dimensional point q characterizing the directional effect these values will have on the physiological state.

The concatenation of p and q allows each musical excerpt to be mapped onto the Musical Effect Matrix M, a 2n-dimensional matrix, n dimensions corresponding to the physiological parameters measured by E representing granular ranges into which E can fall, the other n dimensions corresponding to the effect the track will have on the physiological parameters (ascending, descending or maintaining any given physiological parameter or dimension of E).

C. How X-System is Used

As noted above, X-System may use a subject's biometric data (where a sensor is available) to measure neuro-physiological arousal. It then leads the subject by stages towards a target level of such arousal, state of mind and/or affect. This is achieved with a database of music, previously categorised using predictive modelling of innate neuro-physiological responses. Categorisation in real-time or near real-time is also possible. Categorisation can be visually displayed (e.g. on the display of the computing device used for music playback); this can include a display of the E values for each music track, or how the E (Excitement) value changes during a track; R, I, H, C and T parameters can also be visually displayed. A piece of music that predicts or matches the subject's current level of neuro-physiological arousal is selected and a playlist constructed on the basis of the fundamental musical effect of each constituent piece of music. Listening to the playlist directs or moves the user towards the desired level of arousal, state of mind and/or affect by unconscious neuro-physiological entrainment with the music and enables that level to be maintained. The subject's current level of neuro-physiological arousal can also be visually represented, as can the convergence to the desired target state.

X-System is, in one implementation, designed to sense the state of mind and body of the user and stream music of selected repertoires to achieve target states such as:

-   -   Excitement     -   Relaxation     -   Concentration     -   Alertness     -   Potentiation of physical activity

See FIGS. 2, 3 and 9, for example.

C.1 Components in the X-System

X-System includes:

-   -   automatic categorisation software capable of categorising music         of all cultures either remotely or in proximity according to         specific levels of arousal and counterarousal; these         categorisations may be offered for general use independently of         the sensors and diagnostic software. This may be based on Nigel         Osborne's INRM (Innate Neuro-physiological Response to Music)         paradigm.     -   a database of music categorised manually or automatically (using         the automatic categorisation software) to achieve specific         levels of arousal and counterarousal     -   sensors to detect physiological indicators of arousal (such as         excitement) and counterarousal (such as drowsiness), including         heart rate and galvanic skin conductance     -   diagnostic software which employs sensor data to monitor levels         of arousal and counterarousal in the user     -   music playback/streaming (eg. playlist selection) software which         selects previously categorised music from a database to stream         appropriate repertoire to achieve target states of mind and body         by a process of step-by-step entrainment, starting from the         current diagnosed “state”; progress towards these goals is         monitored by the diagnostic software. Specific tracks for a         listener may be selected for playback (by streaming or         otherwise) according to bio-feedback from that listener; the         playlist may be created locally and the music tracks requested         for streaming/download etc; it is possible also for the         bio-feedback and desired “state” information to be sent to a         remote music server and for that server to generate the         appropriate playlist and provide music tracks to the local,         personal playback device. In this variant, the personal playback         device need have no local music library or X-System         software/firmware etc.; it needs only the ability to detect the         listener's audio preferences and bio-feedback data and to relay         that back to the remote server using a low capacity back-channel         and to then receive the music from the remote music server.

Note that all software may also be implemented in hardware, firmware, SoC, as part of a third party audio stack and in any other convenient manner.

Appendix 1 is a more detailed description of the components of X-System.

C.2 Practical Applications of X-System

The sensor is intended to measure one or more predetermined parameters of the user's state of mind and body and to communicate this information to a processor; the processor is designed to select tracks from the music categorisation data appropriate to lead the user from her/his current state of mind and body to the intended condition of arousal or counter-arousal. This combination will allow X-System to:

-   -   Sense, in real time, the neuro-physiological state of the human         mind and body;     -   Analyse the music collection of the consumer, or any other         collection he/she has access to, such as with a cloud-based or         remote/central server based music service; and     -   Calculate and deliver play lists as a function of a desired         state of arousal.

This will enable users to direct themselves to a desired state, such as:

-   -   Excited and ready to play sports or exercise; for example, to         enhance oxygenation levels for competition or reduce         post-surgical recovery times;     -   Relaxed and able to drift off to sleep;     -   In a meditative state to support development of insight;     -   In a meditative state to support the development of creative         thought; and     -   Maintaining focus and able to concentrate.         (for example, to provide support to overcome conditions such as         insomnia, to reduce medication in post-traumatic stress disorder         (PTSD) and in mania patients, to develop and to organise memory,         categorised by short, medium and long term need for data         retention), and to create a state in which to encourage         creativity and imagination.

The diagram of FIG. 4 illustrates the current project implementation of X-System. In an alternative to the implementation of FIG. 4, because ubiquitous mobile computing blurs the distinction between devices, the elements shown in FIG. 4 within a User PC (music player, music library, automated analysis and musical effect database) may be distributed over two or more computing devices. In a commercial example it may also be configured to work with portable audio devices: see FIG. 5.

While these components are key elements of X-System, its core innovative technology is a definition of the bio-active components of music (based on a predictive Innate Neuro-physiological Response to Music paradigm, Osborne 2009, eg. see FIG. 1), the algorithms used to calculate them based on digital signature analysis and the calibration methods used to tune the system to the neuro-physiological response of an individual.

D. The Sensor or Sensors

The sensor may be in the form of a wristband, a hand-held or any other device suitable for taking the required parameter measurements. The sensor may be body-mounted, or use ear buds (e.g. combining a sensor into ear-bud headphones), remote monitoring via IR or acoustic, wireless, or more generally any form of life sensing. The data captured preferably comprises biometric parameters such as heart rate (including pulse rhythm analysis), blood pressure, adrenaline and oxytocin levels, muscular tension, brain waves and galvanic skin conductivity. Alternative equipment formats include necklaces, bracelets, sensors embedded in clothing, other jewellery, sensors implanted under skin, headsets, earphones, sensors in handheld form such as covers for ‘phones, MP3 players, or other mobile computing devices.

Sensors currently used in the X-System project comprise a wristband sensor which will be used to measure galvanic skin response (GSR), and a standard finger clip Pulse Oximeter for the measurement of heart-rate and blood oxygenation. For the purposes of commercialisation these sensors will be combined in a single, wearable, wireless device. Other potential bio-sensors and motion sensors may be included as they become economically viable.

The sensors must be able to measure a combination of pulse rate and skin conductivity, combined with any other possible measurements and must be resistant to disruption from movements of the user or changes in environment; it must also be possible to wear the sensor for extended periods of time without discomfort or embarrassment. Other sensors include physical bio-sensors such as oxygenation, EDA, EDC, EDR, ECG, sugar levels, BPM, EEG etc, and multi-spectrum sensors (radio, IR, UV, heat, and broad spectrum), which detect bodily radiation auras.

FIG. 5 shows a desired architecture overview. FIG. 5 shows an implementation of the X-System invention where a primary music library, and analysis software resides on a user PC that is operable, remotely or locally by the listener or a third party, with the ability to transfer a selection of music to a personal music player device, which then generates a dynamic playlist based on the available music.

The X-System sensor measures certain chosen parameters of the user's physiological state and transmits the resulting data wirelessly to a processor in (or in communication with) a playlist calculator, which resides on or is otherwise connected to a music playback device (for example, a personal computer, smartphone, MP3 player or other audio device). Transmission is preferably wireless but it will be appreciated that other transmission types are possible. Indeed, the processor may be integrated with the sensor.

The chosen physiological state parameters are denoted by P. A function F(P) reduces these parameters to a single, normalised point E, characterising the general physiological state of the user. In the simplest case E is a one-dimensional measurement of the user's physiological arousal (or counter-arousal). With further inputs a more complex measurement may be obtained, resulting in a point E of n dimensions. An effective prototype has been developed using pulse rate ‘p’ and galvanic skin conductivity ‘v’ to calculate a simple index of physiological arousal where E=p+v. Currently the prototypes use the Nonin X Pod Pulse Oximeter and a skin conductance biosensor. The pulse rate, oxygenation and skin conductance of the user are constantly monitored; heart rate may be used as to control mean variations in conductance. Both sensors currently work independently and are connected wirelessly to a controlling computer. They may be replaced with a single integrated sensor. Alternatively, any other form of wired or wireless communication of sensor outputs to player to output device is possible. Appendix 1 gives more details.

A user initially provides the system with their personal music collection (or uses an online library of streamable or downloadable music). This is analysed for level of excitement, using INRM categorisation in combination with signal processing and machine learning techniques. The user then synchronises this information with their music player and selects a level of excitement/arousal; someone other than the user may also select the excitement level. The sensor wristband provides the system with a constantly updating real-time state of excitement of the user, allowing the system to react to external effects on the user and “catch” them, using the principles of entrainment to bring them back towards the desired state. Once the user has achieved the target level of excitement, they are kept there by music determined to be effective at maintaining that state.

Although the current version of X-System's sensor is based on heart rate and skin conductance, there are strong arguments for early integration of other measures, including for example EEG, brainwave sensors. This would allow factors such as concentration, alertness, contemplation, drowsiness or creative flow to be monitored directly through sensing of frequencies of entrained firing of neurons in the brain, rather than indirectly through indicators of arousal. A second set of related challenges lies in further aspects of machine learning. Individual physiological responses vary considerably, from person to person, according to time of day, state of metabolism etc. X-System may learn from individual users the range of their physiological responses in order to identify relative levels of arousal, and individually calibrate the diagnostic software. It may also learn about their personal preferences as already articulated through their choice of repertoire. X-System may also go directly from a set of musical features, using a neural network to predict the effect of these on physiological measurements, without first reducing the features to an expected excitement/arousal level.

E. Musical Selection Algorithms

Certain levels of neuro-physiological arousal are necessary precursors of activities such as sleep, relaxation, accelerated learning and study, or increased alertness and activity. The user will preferably be presented with a user interface and choose from a menu of such activities in order for the system to establish a target level of arousal and affect that will facilitate the chosen activity.

The point E, representing the neuro-physiological state of the subject diagnosed by the sensor, is used to select music from a database of music tracks indexed by the Musical Effect Matrix M, based on a combination of the granular point r and a direction d pointing towards the physiological state towards which the user has elected to move (see preceding Section E for more detail).

The first piece of music selected will correspond to the initial neuro-physiological state of the subject, represented by E. Subsequent pieces are selected based on their values in M such that each would, played in order, be capable of progressively leading the subject's state towards the target state. The order in which the pieces of music are eligible to be included in a playlist is determined by a vector that represents a temporally-organised ascending, or descending as appropriate, series of musical effect values in M. The set of pieces of music in the database that meet the requirements of this series of effect values is known as ‘Qualified Content’.

The Qualified Content is arranged into an actual playlist according to a set of rules, including but not limited to random selection, anti-repetition, genre preference or some other heuristic. In some cases it may be appropriate to comply with the US Digital Millennium Copyright Act (DMCA).

Where a sensor is used, then a biofeedback loop is established in order to ensure continual recalculation of the playlist to compensate for distraction, individual sensitivity and other factors based upon any dimensions of overall affect that are susceptible to continual measurement. Direction towards non-measured parameters of state of mind and/or affect will still occur despite the lack of a bio-feedback loop because neuro-physiological arousal is a necessary precursor to state of mind and affect and establishes the conditions under which the listener is most susceptible to these other aspects of overall musical effect.

Once a piece of music has been played it is preferably removed from the list of potentially available content for a minimum number of cycles in order to avoid unnecessary repetition. This anti-repetition rule is subject to a feasibility test in order that a message of appropriate severity may be displayed to the user warning of insufficient content or variety of content in the music database to enable effective functioning of the system along with a suggested remedy such as a recommendation of further pieces of music which might be added to the database to improve its functioning.

In the case where content has been distributed pre-categorised or where it is streamed from a central server, playlists may be calculated initially in a dynamic mode where shorter excerpts are taken from the database. Once the listener has achieved the target level of arousal, longer excerpts are admitted into the qualified content pool for the purpose of playlist calculation and the system may enter maintenance mode. Any disturbance which causes the listener's level of arousal to vary by more than a predetermined factor may cause the system to re-enter dynamic mode and re-calculate the playlist based upon shorter excerpts in order to entrain the listener back to the target condition at an accelerated rate.

The anti-repetition rule as applied to shorter excerpts may be used to calculate the minimum required catalogue size on the basis of the number of separate musical styles that may be selected by the user, the average length of a shorter excerpt, the minimum number of cycles that must pass before the anti-repetition rule will admit a song or excerpt back into the selection pool and the number of shorter excerpts available that fall within the least-populated cell of the musical effect matrix.

F. The Music Player

The music player may be an adaptation of standard industry software such as the Windows Media Player which is capable of building dynamic playlists according to the Musical Selection Algorithms and of offering the user additional utility such as selection of musical style, display of associated metadata and video content.

The music player may also be a software application which is downloadable from a software application store accessible via the internet. FIG. 8 summarises a design of the player system and the integration with the sensor subsystem. In an implementation, a player system and subsystem may be distributed across two or more computing devices; ubiquitous computing methods allied to mobile computing and personal human inputs may be employed, together with multiple ways of processing and delivering audio outputs, both private and public. So not only players, but also processors and human interaction devices, including but not limited to entrainment of interaction and control of a personal environment by emotional cues, as well as ordering or sequencing consumption may be used in an implementation.

G. Diagnostic and Streaming Software

When a sensor is used in System-X, then diagnostic and streaming software is capable of reading the values from the sensor(s) and determining a state of arousal of the user. The nature of skin conductance means that the absolute value can vary significantly due to how well it is in contact with the skin, from person to person and through normal sweating. To rectify this, the skin conductance value may be calibrated automatically based on the heart rate of the user.

The user of the system wears the system, selects a repertoire of music that they would like to listen to, decides what excitement level they would like to get to and puts on the sensors. Once a diagnosis has been made for the state of arousal of the user, this data along with the selected excitement level is used to select a program of tracks from the repertoire.

Optionally, the user selects a repertoire of music e.g. Jazz, Classical, Indian, World, Baroque), decides what their target arousal level should be (e.g. relaxed, excited, steady) and puts on the sensors. Once a diagnosis has been made of the current state of arousal of the user, repertoire is automatically selected to lead or “entrain” the listener from their current state to their chosen state of arousal. This is performed by defining a playlist, which entrains the user from the current emotional position in the multi-dimensional space defined by the INRM parameters, moving in small steps towards the defined position in INRM space defined as the desired end point.

H. Manual Categorisation

In an example, the repertoire has been categorised manually by a combination of pulse/meter detection using a metronome, and intuitive predictive judgements concerning levels of arousal and counterarousal associated with various musical parameters including rhythmicity, harmonicity, turbulence etc. e.g., the faster the pulse/meter the higher the arousal, the higher the harmonicity the lower the arousal. In the sample categorisation of FIG. 16 (from the Miles Davis repertoire) tracks are placed in one of five categories corresponding to levels of activation/arousal.

I. Manual Categorisation Vectors

By way of example, in other manual categorisations tracks are further sorted into stable, rising and falling vectors, e.g. “category 4 rising” will be selected if the user chooses a target state of high activation/arousal; “category 4 stable” would be selected if the uses wishes to remain in a state of moderate activation. For an example, see FIG. 17.

In the example of FIG. 18, movements from Beethoven symphonies have been categorized according to the vectors. Note that no movement was identified as appropriate for 4/stable or 2/stable.

Examples of the present invention have been described with reference to its effect upon human beings. However, the effect of music on animals is well documented. This almost certainly depends on simple psychoacoustic effects of sound environment, rather than a musical/biological discourse as such, but examples of the present invention may see applications in animal husbandry or veterinary medicine in addition to both general consumer, professional, athletic, wellness, healthcare and other markets.

J. Social Networks

In this application, X-System is adapted to facilitate the communication of neurophysiological state, arousal, affect and valency data, determined by X-System's algorithms, to friends via short range wireless and Bluetooth networks, as well as more widely to social networks such as Facebook and Twitter, and to health and care workers, as a diagnostic, monitoring or entrainment tool.

This application enables a range of navigational and communication applications on smartphones and other devices, allowing users to ‘communicate and navigate innate states of arousal’ (mood or emotion) and ‘communicate and navigate experience’. It enables individual X-System users not only to see displays showing their own innate states, but to allow others to ‘read’ their true or unconscious states as they experience a variety of activities, from listening to music, to sports and recuperation and post-surgical care in health care settings.

A system and method for communicating X-System diagnostic capacity to decode neurophysiological states, adapting it to facilitate deeper, more direct communication about states of arousal and valency whilst engaging in a wide range of activities (including but not limited to music), between individuals and groups in social networks.

A system and method for generating information requests based on actual states of arousal (as measured by X-System), to search engines such as Google—this arousal information can then be used as an input to the search algorithm and also to the algorithms that control which advertisements are displayed (so for example, web users may be more receptive to advertisements for certain products when in specific arousal states and search results and advertisements can be tailored for maximum relevance using arousal state information. The arousal information can be used also to indicate ‘presence’ status information (“I am in a good mood, listening to Beethoven” etc.).

X-System categorises the innate neurophysiological ‘state’ of individuals in terms of both an unbroken continuum of data and discreet categories, ranging from 1 (high arousal) to 5 (counter-arousal). This is linked in core X-System applications to music selection.

In this ‘social networking’ or ‘sharing’ application, the innate ‘state’ arousal/counter arousal and valency data of an individual is transmitted over a variety of standard communication networks (including but not limited to Wi-Fi, Bluetooth, GSM, and other Mobile networks and fixed-line Internet) both directly and via wider social network systems (such as Facebook), to enable peer to peer and one to many communication of arousal, together (optionally) with coding that indicates concurrent music or other entertainment selection, or self-declared activity (‘this is me watching a movie; responding to an advertisement; walking in the country; running, cycling’), all in real time, or near real time. For example, X-System detects emotional arousal parameters information of an audio track and then embeds this information into the audio track or into an electronic link to the audio track or as metadata associated with the track.

The X-System ‘state’ data can be distributed in real time snapshots (arousal and valency now); in real time streams (continuous flow); as history (arousal and valency yesterday), with or without data about the music selected at the time. This might be termed “a personal verve index” (verve: vivaciousness; liveliness).

The data will then be displayed as graphics, as colour codes, or in a variety of statistical forms. Users will be able to annotate the data and music with ‘activity labels’ (I was running at the time, or doing homework), which will open up other forms of analysis of the relationships between arousal, valency, music, other entertainment experiences and activity.

This application will enable individuals to search for people in their social networks who are in a similar mood, or engaged in similar activities, such as ‘find people in my network who want to talk’ or feeling down and yet keen to talk. This can be indicated by mood boards or to augment presence information on Facebook and other social networks.

With large volumes of users expressing their mood automatically generated by people who opt in (subject to say anonymity rules and permissioning about sharing), the data can indicate overall states of arousal amongst groups and larger communities.

The application will be extended to provide graphical and network maps showing patterns and cluster of moods amongst social groups, creating a ‘social emotion’ landscape for groups either engaged in their own individual activities, or groups together, in a social setting, such as at a party, or listening to a concert, or dancing.

This contrasts with early examples of social network analysis, which are limited by data mining and pattern matching derived from language and semantic analysis and so limited in their accuracy. X-System will generate more authentic and accurate interpretations of both individual and group arousal by capturing true innate neurophysiological state information.

This application will also be used to optimise web sites by linking X-System users to web cookies, such that if I am looking at a site and agree to the use of X-System readings of my innate state information, the cookies will generate analysis of the emotional impact of the site, or particular pages. This will enable web designers to experiment with a variety of textual, film, music and screen displays, layouts and experiences and get immediate feedback about users' emotional response.

This information will then be available to be matched to advertising and marketing metrics, such that responses to web experiences can be aligned with brand values and with the desired moods or desires that particular products and services aim to create. So, for example, the feedback mechanism might be used to match the emotional response to an advertisement about a particular car.

This extension of X-System's core algorithms creates a new form of communication, operating at a deep level, beyond culturally bound, linguistic expressions of mood, optionally linking it to current activity including choices of music, other entertainment and other activities.

This communication of unconscious, pre-linguistic levels of arousal, affect and valency opens up a new paradigm for social networking and health care diagnostics. In care settings, for example, monitoring patients' ‘state’ information will provide insights otherwise not possible using conventional diagnostic techniques. X-System may be integrated with a variety of conventional medical, care and diagnostic devices and applications to create a more holistic picture of patient condition and emotional state.

The X-System core data about innate arousal, valency and music selection is transmitted via standard interfaces to widely available social networks such as Facebook and Twitter and direct to Smartphones in local networks.

X-System will be embedded in Smartphones and other devices, in a variety of combinations of software, firmware and chip hardware. The X-System API will enable specialist App developers to create a variety of tools and techniques to leverage the flow of ‘state’ information, creating feedback and monitoring services.

There are many protocols and systems for the transmission of data and interfaces to social networks and Smartphones. This application of X-System is unique in that it enables these systems to be extended with new data that is otherwise not available. X-System is extended to target communication of innate arousal and valency with accompanying data indicating concurrent music, other entertainment or self-declared activity to individuals and groups in local, wide area and social networks.

X-System can also share arousal values, associated with a user interacting with a search engine such as Google®, with that search engine. The search engine can then use those values to optimise search and/or advertisement selection by the search engine.

X-System can also share arousal values associated with a user browsing a specific website or pages in a website with a website optimisation system so that the website optimisation system can use those values to optimise the website and/or specific pages (content, layout, sounds etc.).

K. Opportunities for Expansion/Enhancement

The main directions of product improvement and expansion are as follows:

-   -   Identification of emotional responses to music stimulated by         memories or response to lyrics or other aspects of a song or         piece of music rather than biology—developed by filtering out         the expected physiological responses.     -   Sensor development and accessories, such as new generations of         miniature Electroencephalography (EEG) brain scanning sensors.         One possible approach is to include sensors (measuring any of         the parameters discussed above, such as pulse, skin conductance         etc) in earbuds or in gloves.     -   Advanced music search, navigation and discovery systems.     -   Advanced music search, navigation and discovery systems,         including promotion, ordering, selection, and control         interfaces.     -   Specialist medical applications.     -   Analysis of music to determine innate emotional responses; and     -   Capture and analysis of sensor data from early adopters to         fine-tune level of arousal.

There are two further strategies for refining analytical functions. The first is through large-scale usage of the system. It is proposed to recruit one hundred volunteers to test the system in five phases. Their physiological data during listening, including heart rate and skin conductance readings, will be compared with automatic categorisation data and the results of manual categorisation, as a means of identifying strengths and weaknesses in the automatic analysis process, both in the capture of data and in the combination of values. The second strategy for refinement is through machine learning, making use of linear regressive and/or neural network approaches. Training phases will follow each of the five testing phases. This approach will have the value of both scrutinising existing values and their combinations, and building up an evolving resource of learnt information and procedure. It may not be possible to refine the automated classification significantly. If this proves to be the case, machine learning processes and statistical analysis will be used to generate the necessary refinement. Additionally, weaknesses in the automatic classification system can be corrected through gathering and analysing the actual measurements of the effects of specific tracks on users. Those skilled in the art will appreciate that both artificial intelligence (AI) and heuristic rules-based approaches, and iterative automation and testing methodologies, may be employed.

X-system could also be used to create and adjust ‘mood’ in retail environments, and/or in online communities, through the playback of suitable music. Individuals could be connected via web interfaces to generate a common response/reading.

Similarly, X-System could be used in the understanding of and the matching of emotional responses to brands—essentially using X-System as a tool by which to diagnose and then shape emotional responses to brands by associating those brands with exactly the right kind of music for the target audience. X-System can be used in judging the response of different social groups to brand music.

Using polling or similar crowd-sensing techniques, X-System can also be used as a dynamic group entrainment tool in group environments, to select music which heightens arousal, for example at sports or entertainment events, and to reduce group tension and frustration in public environments such as transport, hospitals and government buildings.

L. Benefits of X-System

This technology is anticipated to have broad social, psychological and biological benefits in the reduction of stress, the treatment of insomnia, in optimising concentration and learning, in improving creative thought, and in facilitating optimal exercise patterns, whether for the general population or to support training regimes for elite athletes, and enhance event competitiveness.

X-System may be applied in therapeutic approaches to specific medical conditions. There is a large body of literature that provides evidence of the efficacy of music medicine and music therapy as complementary support in the treatment of conditions such as chronic pain, dementia, Parkinsons disease, depression, post-traumatic stress disorder and aphasia, and in palliative, post-surgical, post-stroke care. Possible benefits include reduction of bed rest after surgery, and reduction of drug use.

As an example, Jane would like to be able to concentrate better on the task at hand, so she slips on the wireless sensor wristband, touches the “concentrate” symbol on her iPhone and listens as she gets on with her work. The system will monitor her state of mind and body and play music suitable for maintaining an appropriate level of concentration.

It should be noted that in addition the automatic categorisation algorithms of X-System have considerable potential market value as a “stand alone”, independent of the sensor technology, capable of offering an “emotional” navigation capacity for music streaming systems.

The invention may be used beneficially to select and categorise music according to its neuro-physiological effect, including but not limited to the ordering/sequencing, use, promotion, purchase and sale of music according to its neuro-physiological impact. The invention may also be used beneficially to link such categorisation to other categorisation schemes in common use.

Other potential uses of this system could be for selecting appropriate pieces of music from a database of library music for the soundtrack in films where a specific mood of the viewer is desired. It could also be used in visual arts, where a specific mood of the viewer is desired. Hence these applications would be visual applications or audiovisual applications, rather than just audio applications.

Related products and services will be generated from both of these areas to generate market intelligence about future trends in markets, i.e. products and services relating to analysis of music to determine innate emotional response, and capture and analysis of sensor data from early adopters to fine-tune level of arousal will be generated to generate intelligence about trends in future markets. Examples may include services to the computer game industry to assist in sound track selection to enhance the emotional experience of interactive gaming technology or as an aid to music composers seeking to elicit a particular response to either the whole of, or part of, a proposed musical composition.

Notes

It is to be understood that the above-referenced arrangements are only illustrative of the application for the principles of the present invention. Numerous modifications and alternative arrangements can be devised without departing from the spirit and scope of the present invention. While the present invention has been shown in the drawings and fully described above with particularity and detail in connection with what is presently deemed to be the most practical and preferred example(s) of the invention, it will be apparent to those of ordinary skill in the art that numerous modifications can be made without departing from the principles and concepts of the invention as set forth herein. For example, the mathematical equations given in this text are specific and non-limiting examples only.

Appendix 1

X-System Technical Outline: Component Overview

Fundamentally, the X-System is comprised of 3 components, two of which are software, and one which is hardware.

One piece of software (the “Music Analyser”) is used in an offline (not directly linked to the real-time operation of the system) mode to analyse the candidate music files, and to build an estimation of their excitement/affect influence.

The second software part is the playback component. This is responsible for actually playing the music files, and also for receiving data from the sensor hardware, and using it to update its internal model which determines subsequent tracks to play.

Finally, the hardware component consists of a number of sensors which gather real-time data from the local environment, primarily from the actual user.

DETAILED DESCRIPTIONS

Music Analysis

The analysis aspect of the music analysis subsystem has been described in detail elsewhere, and is not covered here. This section covers only the integration aspects. As mentioned, this is expected to operate primarily in an offline, non-interactive fashion. It will be run periodically against a batch of music inputs, which will result in a set of values describing certain properties of the track. These values can also be combined to produce a single ‘excitement’ figure for the track, which is used by the playback system. The benefit of storing the components individually is that as data is gathered and used to tune system, excitement values can be recomputed with different coefficients without the need to re-analyse the entire track, greatly reducing overhead.

All outputs of the analysis will be stored in a database, indexed on a number of parameters, including at least track and artist identifiers, and some form of acoustic signature which is relatively tolerant of encoding differences or background noise.

These indexes will be used when a user ‘imports’ their music collection to the system. If any tracks already exist in the database, their values do not need to be recomputed.

The feedback process will be an opt-in system in which users agree to provide anonymised information about their usage of the system in order to improve it.

Automated features such as normalised change in arousal, replay/skip of suggested tracks, and aggregate sensor data can be used. Explicit feedback in the form of like/dislike acknowledgements, and occasional randomised questionnaires may also be used.

Use of feedback to guide system parameters may be on both a global and per-user basis. Large scale data mining, pattern recognition, machine learning systems will be used to improve affect/arousal estimation of music.

The analysis component will be operated as an internet accessible service, either in conjunction with some music streaming service to provide the audio, or purely as a control system operating with the users personal music collection.

Where fast & reliable internet service is available, significant fraction of the processing can be offloaded to the hosted X-system service. This allows more intensive processing than on a typical end-device, and also secures the analyser IP.

Additional Uses

Beyond the primary aim of ‘Arousal Adjustment’—facilitating relaxation or excitement—there are other possible uses for the music analysis. It can be used to add an additional dimension to music discovery and navigation, by observing the effect of a large number of short music samples on a user, and then suggesting tracks or artists with similar characteristics. If the system has been used by someone for any reasonable time and has a well-adapted personal model, this initial step may be unnecessary. Similarity navigation of “Music like Artist/Album X” may also be possible based on features determined during track analysis.

Playback and Decision

The playback component handles 2 tasks. Controlling the music playback, and operating a real-time arousal analysis/entrainment model, based on sensor input. The component may be responsible for actually playing the music, or may be a control layer on top of an existing media player such as iTunes/Windows Media Player, etc. The arousal analysis model will be based on the X-system INRM model, using the pre-computed values from the Music Analysis component as a starting point. The user will select a desired outcome, and the sensors will be used to gauge progress towards that outcome of each track. Explicit overrides will permit the user to manually skip a particular track either once, or to permanently blacklist it to ensure it will never be chosen again for them. In addition to their effect, these overrides will feed the decision model.

The capabilities of the component will be somewhat dependent on the environment it is operating in. On relatively low-power devices such as phones and portable music players, it may operate in a less precise, less computationally intensive mode, or if possible, offload some processing to a remote service.

For laptop/desktop/tablet applications, a more sophisticated model may be used. For niche uses, it may operate in conjunction with a visualiser or video playback component to enhance the entrainment effect.

It is likely that many users will wish to use the system from multiple different hosts, for example both their phone and laptop. The player requires some method of synchronising and sharing model data between these systems. This may be best implemented through (or on top of) some internet service similar to Apple iCloud or Google gDrive. This would also provide the channel for presenting data to the analysis system for modelling/training.

Additional Uses, Comments

Given enough training, it may be possible to develop a version of the X-System that can operate at some level with no sensor feedback. This is likely to be less effective than a well-instrumented setup, but there may be sufficient value to the user in avoiding the complications of sensor purchase, upkeep, and inconvenience of wearing. If this proves impossible or undesirable, it may be possible to obtain some feedback through sensors without direct user attachment, for example a accelerometer in the phone carried in their pocket, or GPS in the same indicating their location.

Sensor Hardware

Currently, the sensing part of the system uses two distinct sensors. One is a pulse oximeter, which is used to monitor heart-rate, and the other is a skin conductance sensor, which measures the electrical conductance (the inverse of resistance) of the skin.

Pulse Oximeter

The pulse oximeter operates on the principle of wavelength-dependent absorption of light by the (oxy-)haemoglobin in the bloodstream. By comparing absorption values at red and infra-red wavelengths, the relative proportion of oxygenated blood can be determined, leading to the ‘blood oxygen saturation’ (spO2) figure. Tracking this value at a relatively high frequency allows detection of the sudden change which indicates a pulse due to a heart-beat, and hence, heart-beat rate can be determined. Whilst very useful in medical contexts, blood oxygenation does not change significantly or at timescales useful to the X-System, and only heart-rate data is collected.

The current system uses a COTS sensor, the Nonin 3150 WristOx2 wireless pulse oximeter. This device uses a soft rubber fingertip clip to house the light emitter/detectors, which is typical for the type of sensor. Alternatives exist which use sensors clipping gently to the lobe of the ear, as well as other parts of the body. This device uses Bluetooth (with the standard and generic SPP—Serial Port Protocol) for data transmission.

Future implementations of this sensor are likely to use sensor locations more convenient and less intrusive than a fingertip. The reliability and accuracy of the sensor is strongly improved by using direct transmission absorption (that is, directing light through a relatively thin body-part such as a finger or ear-lobe), but devices do exist which can operate in reflective mode, allowing them to be placed almost anywhere, although areas with high blood vessel density, and relatively close to the surface of the skin are to be preferred. One good site which fits well with the x-system goals would be as part of a watch strap, with the sensor on the inside of the wrist, where the buckle lies on a typical watch-strap.

Skin Conductance

Skin Conductance, variously termed EDA (Electro-Dermal activity), GSR (Galvanic Skin Resistance), or just Skin Resistance/Conductance, is a measure of the ability of the skin to carry electrical current. For obvious safety reasons, the current must be kept very low, and strictly limited. Baseline skin conductivity depends on a multitude of factors specific to individuals and their local environment, but on short timescales, the primary influence is that of sweat. Sweat, essentially just water high in electrolytes, is a good conductor, and its presence lowers the effective resistance of the skin. As an aside, Conductance (measured in Siemens/mhos) is defined as the inverse of resistance (in ohms). By convention conductance is used when describing these systems, although conversion to resistances is trivial.

Sweating is influenced by a variety of factors, but we are most interested in the relation to the parasympathetic nervous system. Increased arousal is strongly correlated with increased sweating, and hence increased skin conductance. This effect is relatively fast, on the order of seconds. The areas of the body with the highest density of sweat glands—the working surfaces of the hands and feet—are the most effective pickup locations, but other locations are possible, with varying results. The wrist and outer forearm have been shown to provide adequate results [ref available]

Measuring skin conductance can be achieved in several ways. The current sensor uses a simple potential divider with a high-precision resistor as one leg, and 2 skin contacts applied to the user serve as the other leg. The central node is also connected to a buffered ADC for measurement.

Other designs exist, and some prototype work has been done on using a Wheatstone Bridge—a particular circuit arrangement which allows highly precise differential measurements—to improve accuracy and noise rejection.

An important aspect of this parameter is that the value can vary over several orders of magnitude. Dry skin, in a cold, dry environment, can have conductances in the micro-Siemen (Mega-ohm) range, and extremely sweaty skin can go down to hundreds of milli-Siemen (1-1000 Ohms). Accurate measurement across this wide range presents some significant challenges in sensor design.

The existing sensor, as mentioned, uses a relatively unsophisticated potential divider. This is sampled at around 50 Hz by an Analogue-to-Digital Converter (ADC) integrated into the sensor microcontroller (MCU).

The particular MCU used at present is the Texas Instruments MSP430F2774. In addition to the ADC, this device contains an integrated programmable gain amplifier (PGA), which is used to magnify the signal from 1× to 16×. This provides an effective increase in precision of 4 bits to the existing 10-bit ADC. Preceding the amplifier is another integrated Op-Amp which is used in follower (unity-gain) mode, which acts to buffer the signal, and present a high-impedance load to the voltage divider, ensuring that the reading is not skewed due to significant current flowing through the sampling subsystem.

The ADC input is sampled at approximately 50 Hz. If the measured value falls into one of the two regions near the top and bottom of its full measurement range, the gain of the PGA pre-amp is adjusted to raise it towards the centre of the measurement range. Immediately following this adjustment (after a short settling period required by the amplifier) another sample is taken. A hysteresis method is implemented at the edge of each region to minimise the possibility of ‘flip-flopping’ repeatedly between 2 amplifier gain levels and interfering with the timely gathering of values. In addition, the relatively high sampling rate (50 Hz) compared to the transmission rate of approximately 2 Hz leaves plenty of room for amplifier adjustments. The high sample-rate readings are averaged using a simple low-pass (FIR) filter with a cutoff of 10 Hz.

Samples which fall into these border regions and result in an amplification change are discarded once this second sample completes. Software semaphores are used in the firmware to ensure the communication subsystem cannot access the sample buffer whilst it is in use or contains unreliable data.

If the reading falls into a buffer region but the pre-amp is already set to the maximum or minimum value possible, the reading is stored and transmitted, but marked with a flag indicating a potential saturation/clipping error.

The MCU is also connected to a wireless radio module, which it uses to communicate with a USB base-station. The wireless communications operate in the same unregulated frequency band as WiFi and Bluetooth, at 2.4 GHz. They are however of much lower power and data-rate, and are designed to co-exist with these other devices nearby.

Higher level radio communications are handled using a slightly modified version of the SimpliciTI proprietary network protocol on the sensor device and base station. This allows multiple sensors to operate in range of one another while ensuring that data is received by the correct base-station. Base stations are implemented using a second MSP430, this time with a USB interface, and which uses the standard USB-Serial device-driver which is supported by practically all host devices and operating systems. Layered on top of the network protocol is the X-System sensor protocol, which exists mainly to facilitate transmission of sensor readings, provide debugging output, and allow selective enabling/disabling of sensors to save power. The update frequency of the sensors can also be adjusted.

The sensors are battery powered, with in-situ charging possible over USB. This permits fully wireless operation, and minimises any noise that could be present in external power supply lines.

Notes

The above section describes the existing implementations, but there are a number of additional features planned, but not yet deployed. These include both upgrades to the current sensing modalities, and also the incorporation of additional types of sensor. Upgrades include:

-   -   Heart-rate:         -   Reflective IR Pulse Oximeter suitable for wrist-mounted             sensing.         -   High frequency plethysmographic sampling for heart waveform             & rhythm analysis, beyond a simple ‘heart-rate’ value.     -   Skin Conductance:         -   Wheatstone Bridge based skin conductance pickup, with             discrete or integrated precision instrumentation amplifiers.         -   More sophisticated digital filtering stage         -   Use of synchronised accelerometer attached to/near the skin             contacts used to mark readings as suspicious due to             contact-movement artifacts.

Additional modalities include:

-   -   EEG type sensors or ‘caps’ for brainwave activity     -   Electromyograph muscular tone/trigger rate     -   Multi-point ECG for high-resolution heart waveform     -   Breathing depth/rate     -   Eye-tracking/Gaze/blink analysis

Future sources of data which are not yet viable, but which would benefit the system include: stress hormone (e.g. Cortisol) plasma concentration, neural triggering rate, regional brain activity.

The primary obstacle to be overcome in the development of sensors is convenience. If aimed at a mass market, few users will tolerate cumbersome cables or obstructions of their hands or senses, in comparison to, for example, a therapeutic or medical market. Consolidation of sensors into a single package such as a wrist-watch or headphone style appliance would be ideal. Other possibilities include flexible circuits integrated into clothing or footwear.

A sensor package should be capable of interoperability with as many host devices as is feasible. This may include smart-phones, feature-phones, tablets, portable music players, laptops, desktops, home hifi, and in-car audio. The most common interfaces are likely WiFi or Bluetooth, although support varies significantly across the range of hosts described.

Appendix 2

Modelling Human Neuro-Physiological Response

The following papers, which are incorporated by reference, provide information on modelling the neuro-physiological response of humans.

-   Aragon D, Farris C, Byers J F -   The effects of harp music in vascular and thoracic surgical patients -   Alternative Therapies in Health and Medicine 2002 September-October;     8(5): 52-4, 56-60 -   Baumgartner T, Lutz K, Schmidt C F, Jancke L -   The emotional power of music: how music enhances the feeling of     affective pictures -   Brain Research 2006 February; 1075 (1): 151-64 -   Bernardi L, Porta C, Sleight P -   Cardiovascular, cerebrovascular and respiratory changes induced by     different types of music in musicians and non-musicians: the     importance of silence -   Heart (British Cardiac Society) 2006 April; 92(4): 445-52 -   Blood A J, Zatorre R J -   Intensely pleasurable responses to music correlate with activity in     brain regions implicated in reward and emotion -   Proceedings of the National Academy of Sciences USA. 2001 Sep. 25;     98(20): 11818-23 -   Brown S, Martinez M J, Parsons L M -   Passive music listening spontaneously engages limbic and paralimbic     systems -   Neuroreport 2004 Sep. 15; 15(13): 2033-7 -   Brugge J F -   Patterns of organisation in auditory cortex -   Journal of the Acoustical Society of America 78(1/2) 1985 353-359 -   Byers J F, Smyth K A -   Effect of a musical intervention on noise annoyance, heart rate, and     blood pressure in cardiac surgery patients -   American Journal of Critical Care 1997 May; 6(3): 183-91 -   Cardigan M E, Caruso N A, Haldeman S M, McNamara M E, Noyes D A,     Spadafora M A, Carroll D L -   The effects of music on cardiac patients on bed rest -   Progress in Cardiovascular Nursing 2001 Winter; 16(1): 5-13 -   Decety J, Chaminade T -   Neural correlates of feeling sympathy -   Neuropsychologia 41 2003 127-138 -   Evers S, Suhr B -   Changes of the neurotransmitter serotonin but not of hormones during     short time music perception -   European Archives of Psychiatry and Clinical Neuroscience 2000;     250(3): 144-7 -   Formisano E, Kim D S, Di Salle F, van de Moortele P F, Ugurbil K,     Goebel R -   Mirror-symmetric tonotopic maps in human primary auditory cortex -   Neuron 40(4) 2003 859-869 -   Gallese V -   The roots of empathy. The shared manifold hypothesis and the neural     basis of intersubjectivity -   Psychopathology, 36 2003 171-180 -   Gerra G, Zaimović A, Franchini D, Palladino M, Giucastro G, Reali N,     Maestri D, Caccavari R, Delsignore R, Brambilla F -   Neuroendocrine responses of healthy volunteers to ‘techno-music’:     relationships with personality traits and emotional state -   International Journal of Psychophysiology 1998 January; 28(1):     99-111 -   Grape C, Sandgren M, Hansson L O, Ericson M, Theorell T -   Does singing promote well-being?: An empirical study of professional     and amateur singers during a singing lesson -   Integrative Physiological and Behavioral Science 2003 January-March;     38(1): 65-74 -   Griffiths T D, Buchel C, Frackowiak R S, Patterson R D -   Analysis of temporal structure in sound by the human brain -   Nature Neuroscience 1(5) 1998 422-427 -   Hebert S, Beland R, Dionne-Fournelle O, Crete M, Lupien S J -   Physiological stress response to video-game playing: the     contribution of built-in music -   Life Sciences 2005 Apr. 1; 76(20): 2371-80 -   Holstege G, Bandler R, Saper C B (ed) -   The emotional motor system -   Progress in Brain Research 107, Elsevier, Amsterdam 1996 -   Iwanaga M -   Relationship between heart rate and preference for tempo of music -   Perceptual and Motor Skills 1995 October; 81(2): 435-40 -   Iwanaga M, Kobayashi A, Kawasaki C -   Heart rate variability with repetitive exposure to music -   Biological Psychology 2005 September; 70(1):61-6 -   Iwanaga M, Tsukamoto M -   Effects of excitative and sedative music on subjective and     physiological relaxation -   Perceptual and Motor Skills 1997 August; 85(1): 287-96 -   Jeannerod M -   Visual and action cuescontribute to the self-other distinction -   Nature Neuroscience 7(3) 2004 421-422 -   Knight W E Rickard N S -   Relaxing music prevents stress-induced increases in subjective     anxiety, systolic blood pressure and heart rate in healthy males and     females -   Journal of Music Therapy 2001 Winter; 38(4): 254-72 -   Koelsch S, Fritz T, V Cramon D Y, Muller K, Friederici A D -   Investigating emotion with music: an fMRI study -   Human Brain Mapping 2006 March; 27(3): 239-50 -   Kumar A M, Tims F, Cruess D G, Mintzer M J, Ironson G, Loewenstein     D, Cattan R, Fernandez J B, Eisdorfer C, Kumar M -   Music therapy increases serum melatonin levels in patients with     Alzheimer's disease -   Alternative Therapies in Health and Medicine 1999 November; 5(6):     49-57 -   Lee D N -   Guiding movement by coupling taus -   Ecological Psychology 1998: 10(3-4): 221-250 -   Lee O K, Chung Y F, Chan M F, Chan W M -   Music and its effect on the physiological responses and anxiety     levels of patients receiving mechanical ventilation: a pilot study -   Journal of Clinical Nursing 2005 May; 14(5): 609-20 -   Li L, Korngut L M, Frost B J, Beninger R J -   Prepulse inhibition following lesions of the inferior collicus:     prepulse intensity functions -   Physiology and Behavior 1998 August; 65(1): 133-9 -   McAdams S, Winsberg S, Donnadieu S, De Soete G, Krimphoff J -   Perceptual scaling of synthesised musical timbres: common     dimensions, specidicities, and latent subject classes -   Psychological Research 58 1995 177-192 -   Meloni E G, Davis M -   The dorsal cochlear nucleus contributes to a high intensity     component of the acoustic startle reflex in rats -   Hearing Research 1998 May; 119(1-2): 69-80 -   Menon V, Levitin D J, Smith B K, Lembke A, Krasnow R D, Glazer D,     Glover G H, McAdams S -   Neural correlates of timbre change in harmonic sounds -   Neuroimage 17(4) 2002 1742-1754 -   Miluk-Kolasa B, Obminski Z, Stupnicki R, Golec L -   Effects of music treatment on salivary cortisol in patients exposed     to pre-surgical stress -   Experimental and Clinical Endocrinology 1994; 102(2): 118-20 -   Mok E, Wong K Y -   Effects of music on patient anxiety -   AORN Journal 2003 February; 77(2): 396-7, 401-6, 409-10 -   Molnar-Szakacs I, Overy K -   Music and mirror neurons: from motion to ‘e’ motion -   Social Cognitive Affective Neuroscience 1 2006 235-241 -   Nilsson U, Unosson M, Rawal N -   Stress reduction and analgesia in patients exposed to calming music     postoperatively: a randomized controlled trial -   European Journal of Anaesthesiology 2005 February; 22(2): 96-102 -   Osborne N 1. -   Music for children in zones of conflict and post-conflict -   in Communicative Musicality ed. Malloch and Trevarthen OUP 2009 -   Osborne N 2. -   Towards a chronobiology of musical rhythm -   in Communicative Musicality ed. Malloch and Trevarthen OUP 2009 -   Osborne N 3. -   Neuroscience and real world practice -   Annals of the New York Academy of Sciences 2012 (in publication) -   Overy K, Molnar-Szakacs I -   Being together in time: musical experience and the mirror neuron     system -   Music Perception 26 2009 489-504 -   Pachetti C, Aglieri R, Mancini F, Martignoni E, Nappi G -   Active music therapy and Parkinson's disease: methods -   Functional Neurology 1998 January-March; 13(1): 57-67 -   Panksepp J, Trevarthen C -   The neuroscience of emotion in music -   in Communicative Musicality OUP 2009 -   Pantev C, Hoke M, Lehnertz K, Lutkenhoner B, Anogianakis G,     Wittkowski W -   Tonotopic organisation of the human auditory cortex revealed by     transient auditory-evoked magnetic fields -   Electroencephalographic Clinical Neurophysiology 69(2) 1988 160-170 -   Patterson R D, Uppenkamp S, Johnsrude I S, Griffiths T D -   The processing of temporal pitch and melody information in the     auditory cortes -   Neuron 36(4) 2002 767-776 -   Penhune V B, Zatorre R J, Feindel W H -   The role of auditory cortex in retention of rhythmic patterns as     studied in patients with temporal lobe removals including Heschl's     gyrus -   Neuropsychologia. 1999 March; 37(3):315-31 -   Peretz I -   Listen to the brain: a biological perspective on musical emotions -   in Juslin P, Sloboda J (eds) Music and Emotion: Theory and Research -   OUP London 2001 -   Peretz I, Zatorre R J (ed) -   The cognitive neuroscience of music OUP 2003 -   Peretz I, Kolinsky R -   Boundaries of separability between rhythm in music discrimination: a     neuropsychological perspective -   The Quarterly Journal of Experimental Psychology 1993 May; 46(2):     301-25 -   Reinhardt U -   Investigations into synchronisation of heart rate and musical rhythm     in relaxation therapy in patients with cancer pain (in German) -   Forschende Komplementarmedizin 1999 June; 6(3): 135-41 -   Rencanzone G H, Schreiner C E, Merzenich M M -   Plasticity in the frequency representations of primary auditory     cortex following discrimination training in adult owl monkeys -   Neuroscience 13(1) 1993 87-103 -   Rizzolati G, Fogassi I, Gallese V. -   Neuro-physiological mechanisms underlying the understanding and     imitation of action -   Nature Reviews Neuroscience, 2, 2001 661-670 -   Schneider N, Schedlowski M, Schurmeyer T H, Becker H -   Stress reduction through music in patients undergoing cerebral     angiography -   Neuroradiology 2001 June; 43(6): 472-6 -   Stefano G B, Zhu W, Cadet P, Salamon E, Mantione K J -   Music alters constitutively expressed opiate and cytokine processes     in listeners -   Medical Science Monitor 2004 June; 10(6): MS18-27 -   Sutoo D, Akiyama K -   Music improves dopaminergic neurotransmission: demonstration based     on the effect of music on blood pressure regulation -   Brain Research 2004 Aug. 6; 1016(2): 255-62 -   Talavage T M, Sereno M I O, Melcher J R, Ledden P J, Rosen B R, Dale     A M -   Tonotopic organisation in human auditory cortex revealed by     progressions of frequency sensitivity -   Journal of Neurophysiology 91(3) 2004 1282-1296 -   Trevarthen C -   Musicality and the Intrinsic Motive Pulse: Evidence from human     psychobiology and infant communication -   Special Issue of Musicae Scientiae: Rhythm, Narrative and Origins of     Human Communication 1999: 157-213 -   Trevarthen C, Malloch S N, -   The Dance of Wellbeing: Defining the Musical Therapeutic Effect -   Nordic Journal of Music Therapy 2000; 9(2): 65-126 -   Turner R, Ioannides A A -   Brain, music and musicality: inferences from neuroimaging -   in Communicative Musicality OUP 2009 -   Uedo N, Ishikawa H, Morimoto K, Ishihara R, Narahara H, Akedo I,     Ioka T, Kaji I, Fukuda S -   Reduction in salivary cortisol level by music therapy during     colonoscopic examination -   Hepato-gastroenterology 2004 March-April; 51(56): 451-3 -   Updike P A, Charles D M -   Music Rx: physiological and emotional responses to taped music     programs of preoperative patients awaiting plastic surgery -   Annals of Plastic Surgery. 1987 July; 19(1): 29-33 -   Urakawa K, Yokoyama K -   Music can enhance exercise-induced sympathetic dominancy assessed by     heart rate variability -   The Tohoku Journal of Experimental Medicine 2005 July; 206(3): 213-8 -   VanderArk S D, Ely D -   Cortisol, biochemical, and galvanic skin responses to music stimuli     of different preference values by college students in biology and     music -   Perceptual and Motor Skills. 1993 August; 77(1): 227-34 -   Warren J D, Uppenkamp S, Patterson R D, Griffiths T D -   Separating pitch chroma and pitch height in the human brain -   Proceedings of the National Academy of Sciences USA, 100(17) 2003     10038-10042 -   Wieser H G, Mazzola G -   Musical consonances and dissonances: are they distinguished     independently by the right and left hippocampi? -   Neuropsychologia 1986; 24(6): 805-12 -   Yamamoto T, Ohkuwa T, Itoh H, Kitoh M, Terasawa J, Tsuda T, Kitagawa     S, Sato Y -   Effects of pre-exercise listening to slow and fast rhythm music on     supramaximal cycle performance and selected metabolic variables -   Archives of Physiology and Biochemistry 2003 July; 111(3): 211-4 -   Zatorre R J, Peretz I (ed) -   The biological foundations of music -   New York Academy of Sciences 2001 -   Zatorre R, J, Evans A C, Meyer E -   Neural mechanisms underlying melodic perception and memory for pitch -   Journal of Neuroscience 14(4) 1994 1908-1919 

The invention claimed is:
 1. A computer implemented system for analysing sounds, such as audio tracks, or any other types of sounds, the system including a processor programmed for automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain; and in which the system analyses sounds so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal in that listener, in which values of rhythmicity, harmonicity and turbulence for a given track are combined and mapped to an n dimensional point p characterizing physiological excitement state E, and where the system determines excitement using an equation that links E to I, R and T, where E is the excitement state, R is the rhythmicity, I is the inharmonicity and T is the turbulence.
 2. The system of claim 1 in which the system is adapted to automatically analyse sounds and store results of that analysis in a database so that appropriate sounds can subsequently be selected from that database and played to a listener to provide a desired stimulation and/or manipulation of neuro-physiological arousal in that listener.
 3. The system of claim 1 wherein the musical parameters relate to rhythmicity.
 4. The system of claim 1, wherein the musical parameters relate to harmonicity, being the degree of correspondence to the harmonic series.
 5. The system of claim 1, wherein the musical parameters relate to turbulence, being a measure of rate of change and extent of change in musical experience.
 6. The system of claim 3, which predictively models primitive spinal pathways and the pre-motor loop (such as the basal ganglia, vestibular system, cerebellum), all concerned with primal responses to rhythmic impulses, by analysing beat induction, using a specifically calibrated onset window.
 7. The system of claim 3, which predictively models rhythmic pattern recognition and retention regions (such as the secondary auditory cortex of the temporal lobes) by using self-similarity/auto-correlation algorithms.
 8. The system of claim 3 which predictively models the activation of mirror neuron systems, which detect power, trajectory and intentionality of rhythmic activity, through one or more of: indices of rhythmic power, including computation of volume levels, volume peak density, “troughs”, or the absence of energy and, dynamic profiles of performance energy.
 9. The system of claim 3 which predictively models activation of mirror neuron systems by analysing a profile of expenditure of energy (precipitous for high arousal, smooth for low) before and in between onsets, important mirror neuron information, by a computation of profiles of energy flow leading to significant articulations.
 10. The system of claim 4 which predictively models the functioning and response of Heschl's Gyrus to sound by determining levels of harmonicity and inharmonicity.
 11. The system of claim 4 which detects a principal fundamental through calculation of the harmonic product spectrum, then establishes degrees of harmonicity both within and among spectra of different fundamentals.
 12. The system of claim 11, in which the detection of a principal fundamental and the establishment of degrees of harmonicity is applied both to instantaneous moments, and to progressions of pitches and spectra in time (related to the tonotopic mapping of the area around Heschl's Gyrus) and is expressed in terms of linear harmonic cost, which represents both the rate at which the fundamental is changing, and the harmonic distance of the changes.
 13. The system of claim 12 which predictively models the neurophysiological sensing of simple timbre by Heschl's gyrus, superior temporal sulcus, circular insular sulcus by analysing windows of harmonicity at instantaneous moments.
 14. The system of claim 12 which predictively models melodic and harmonic progressions in terms of how far each STFT time slices deviates from the simple ratios of the harmonic series: Linear harmonic cost arises from STFT time slices whose fundamental frequency differs from that of the previous slice; Time slices with no change in fundamental have a cost of zero.
 15. The system of claim 5, in which turbulence combines indices of change in rhythmicity and harmonicity, with auditory brainstem and cortical activity innervating the amygdala, hippocampus and core emotional regions affecting neurotransmission and endocrine systems, including the HPA axis, dopamine circuits and levels of, for example, norepinephrine, melatonin and oxytocin.
 16. The system of claim 1, wherein the analysis of sounds operates in real-time on locally stored music data and the system includes software embodied on a non-transitory storage medium, firmware embodied on a non-transitory storage medium and/or hardware running on a personal computing device.
 17. The system of claim 1 in which data defining the rhythmicity, harmonicity and turbulence for a particular sound, such as a music track or portion of that track, are combined in such a manner as to give a single output representing arousal.
 18. The system of claim 3 that determines rhythmicity using an equation that relates R to B and S, and where R is rhythmicity, B is beats per minute, and S is the mean of the beat strength, where the beat strength is the ratio of the energy before the beat to the energy after it.
 19. The system of claim 3 that determines rhythmicity using an equation that relates I to C and H, where I is inharmonicity, C is linear harmonic cost and H is instantaneous harmonicity.
 20. The system of claim 5 that determines turbulence using an equation that links T to H and P, where T is turbulence, H is harmonicity and P is energy during peak volume.
 21. The system of claim 1, wherein the sound is analysed for the purpose of navigation, or discovery, or retrieval, or selection, or matching for a specific requirement, or for playlist creation, or for entraining affect or for entraining mood.
 22. The system of claim 1, wherein the system is for selecting music tracks for playback to a human subject according to a preselected desired arousal state of the human subject, the music tracks being selected according to the model of human neuro-physiological response to music, the neuro-physiological model being used to select the music tracks for playback according to the neuro-physiological response to the music tracks predicted by the neuro-physiological model.
 23. The system of claim 1, wherein a primary music library and analysis software resides on a computer operable, remotely or locally, by a human subject, with an ability to transfer a selection of music to a personal music player device, which then generates a dynamic playlist based on the available music.
 24. The system of claim 1, wherein the model of human neuro-physiological response to sound is refined through machine learning, such as linear regressive and/or neural network approaches.
 25. The system of claim 1, wherein a sensor is used to measure the state of arousal of a human subject, and music categorised by predictive modelling of the model of human neuro-physiological response is streamed or otherwise provided in order to achieve a preselected desired arousal state of the human subject.
 26. The system of claim 1, wherein the system comprises a sensor such that once the sensor is activated the system measures a human subject's initial level of neuro-physiological arousal and the system automatically constructs a playlist that will first mirror this level of arousal, then direct the human subject towards, and help to maintain them at, the preselected desired arousal state of the human subject.
 27. The system of claim 1, where a playlist is created in order to entrain or maintain arousal and direct state of mind and/or affect.
 28. The system of claim 1, wherein measurement of a level of neuro-physiological arousal of an individual is automated and is expressed as a value in order to enable it to be mirrored by a musical effect of any one of a number of pieces of music in a database.
 29. The system as claimed in claim 1, operable to detect emotional arousal parameters information of an audio track and further operable to embed the emotional arousal parameters information into the audio track or into an electronic link to the audio track or as metadata associated with the track.
 30. The system as claimed in claim 1 operable to enable an automated search of music stored on remote or local databases for music with signatures meeting defined criteria.
 31. The system as claimed in claim 1 operable to share arousal values in a social networking application.
 32. The system as claimed in claim 1 operable to share arousal values (a) associated with a user interacting with a search engine, with that search engine, so that the search engine can then use those values to optimise search and/or advertisement selection by the search engine.
 33. A computer implemented system for analysing sounds, such as audio tracks, or any other types of sounds, the system including a processor programmed for automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain; and in which the system analyses sounds so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal in that listener, wherein the musical parameters relate to rhythmicity, and wherein the system determines rhythmicity using an equation that relates R to B and S, and where R is rhythmicity, B is beats per minute, and S is the mean of the beat strength, where the beat strength is the ratio of the energy before the beat to the energy after it.
 34. A computer implemented system for analysing sounds, such as audio tracks, or any other types of sounds, the system including a processor programmed for automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain; and in which the system analyses sounds so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal in that listener, wherein the musical parameters relate to rhythmicity, that determines rhythmicity using an equation that relates I to C and H, where I is inharmonicity, C is linear harmonic cost and H is instantaneous harmonicity.
 35. A computer implemented system for analysing sounds, such as audio tracks, or any other types of sounds, the system including a processor programmed for automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain; and in which the system analyses sounds so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal in that listener, wherein the musical parameters relate to turbulence, being a measure of rate of change and extent of change in musical experience, wherein the system determines turbulence using an equation that links T to H and P, where T is turbulence, H is harmonicity and P is energy during peak volume. 